mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-25 20:40:36 +03:00
B: fix build
This commit is contained in:
parent
679da36fc0
commit
b187e7ad79
|
@ -21,7 +21,7 @@ export const useCstCreate = () => {
|
|||
client.invalidateQueries({ queryKey: [KEYS.oss] }),
|
||||
client.invalidateQueries({
|
||||
queryKey: [rsformsApi.baseKey],
|
||||
predicate: query => query.queryKey.length > 2 && query.queryKey[2] !== data.schema.id
|
||||
predicate: query => query.queryKey.length > 2 && query.queryKey[2] !== String(data.schema.id)
|
||||
})
|
||||
]);
|
||||
},
|
||||
|
|
|
@ -21,7 +21,7 @@ export const useCstDelete = () => {
|
|||
client.invalidateQueries({ queryKey: [KEYS.oss] }),
|
||||
client.invalidateQueries({
|
||||
queryKey: [rsformsApi.baseKey],
|
||||
predicate: query => query.queryKey.length > 2 && query.queryKey[2] !== data.id
|
||||
predicate: query => query.queryKey.length > 2 && query.queryKey[2] !== String(data.id)
|
||||
})
|
||||
]);
|
||||
},
|
||||
|
|
|
@ -21,7 +21,7 @@ export const useCstRename = () => {
|
|||
client.invalidateQueries({ queryKey: [KEYS.oss] }),
|
||||
client.invalidateQueries({
|
||||
queryKey: [rsformsApi.baseKey],
|
||||
predicate: query => query.queryKey.length > 2 && query.queryKey[2] !== data.schema.id
|
||||
predicate: query => query.queryKey.length > 2 && query.queryKey[2] !== String(data.schema.id)
|
||||
})
|
||||
]);
|
||||
},
|
||||
|
|
|
@ -21,7 +21,7 @@ export const useCstSubstitute = () => {
|
|||
client.invalidateQueries({ queryKey: [KEYS.oss] }),
|
||||
client.invalidateQueries({
|
||||
queryKey: [rsformsApi.baseKey],
|
||||
predicate: query => query.queryKey.length > 2 && query.queryKey[2] !== data.id
|
||||
predicate: query => query.queryKey.length > 2 && query.queryKey[2] !== String(data.id)
|
||||
})
|
||||
]);
|
||||
},
|
||||
|
|
|
@ -21,7 +21,7 @@ export const useInlineSynthesis = () => {
|
|||
client.invalidateQueries({ queryKey: [KEYS.oss] }),
|
||||
client.invalidateQueries({
|
||||
queryKey: [rsformsApi.baseKey],
|
||||
predicate: query => query.queryKey.length > 2 && query.queryKey[2] !== data.id
|
||||
predicate: query => query.queryKey.length > 2 && query.queryKey[2] !== String(data.id)
|
||||
})
|
||||
]);
|
||||
},
|
||||
|
|
|
@ -20,7 +20,7 @@ export const useProduceStructure = () => {
|
|||
client.invalidateQueries({ queryKey: [KEYS.oss] }),
|
||||
client.invalidateQueries({
|
||||
queryKey: [rsformsApi.baseKey],
|
||||
predicate: query => query.queryKey.length > 2 && query.queryKey[2] !== data.schema.id
|
||||
predicate: query => query.queryKey.length > 2 && query.queryKey[2] !== String(data.schema.id)
|
||||
})
|
||||
]);
|
||||
},
|
||||
|
|
|
@ -20,7 +20,7 @@ export const useResetAliases = () => {
|
|||
client.invalidateQueries({ queryKey: [KEYS.oss] }),
|
||||
client.invalidateQueries({
|
||||
queryKey: [rsformsApi.baseKey],
|
||||
predicate: query => query.queryKey.length > 2 && query.queryKey[2] !== data.id
|
||||
predicate: query => query.queryKey.length > 2 && query.queryKey[2] !== String(data.id)
|
||||
})
|
||||
]);
|
||||
},
|
||||
|
|
|
@ -22,7 +22,7 @@ export const useUploadTRS = () => {
|
|||
client.invalidateQueries({ queryKey: [KEYS.oss] }),
|
||||
client.invalidateQueries({
|
||||
queryKey: [rsformsApi.baseKey],
|
||||
predicate: query => query.queryKey.length > 2 && query.queryKey[2] !== data.id
|
||||
predicate: query => query.queryKey.length > 2 && query.queryKey[2] !== String(data.id)
|
||||
})
|
||||
]);
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue
Block a user