|
|
@ -51,6 +51,7 @@ const { |
|
|
|
unlink, |
|
|
|
unlink, |
|
|
|
row, |
|
|
|
row, |
|
|
|
headerDisplayValue, |
|
|
|
headerDisplayValue, |
|
|
|
|
|
|
|
resetChildrenExcludedOffsetCount |
|
|
|
} = useLTARStoreOrThrow() |
|
|
|
} = useLTARStoreOrThrow() |
|
|
|
|
|
|
|
|
|
|
|
const { addLTARRef, isNew, removeLTARRef, state: rowState } = useSmartsheetRowStoreOrThrow() |
|
|
|
const { addLTARRef, isNew, removeLTARRef, state: rowState } = useSmartsheetRowStoreOrThrow() |
|
|
@ -101,6 +102,9 @@ watch( |
|
|
|
} |
|
|
|
} |
|
|
|
loadChildrenExcludedList(rowState.value) |
|
|
|
loadChildrenExcludedList(rowState.value) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if(!nextVal){ |
|
|
|
|
|
|
|
resetChildrenExcludedOffsetCount() |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
{ |
|
|
|
{ |
|
|
|
immediate: true, |
|
|
|
immediate: true, |
|
|
@ -255,6 +259,11 @@ onUnmounted(() => { |
|
|
|
childrenExcludedListPagination.query = '' |
|
|
|
childrenExcludedListPagination.query = '' |
|
|
|
window.removeEventListener('keydown', linkedShortcuts) |
|
|
|
window.removeEventListener('keydown', linkedShortcuts) |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const onFilterChange = () => { |
|
|
|
|
|
|
|
childrenExcludedListPagination.page = 1; |
|
|
|
|
|
|
|
resetChildrenExcludedOffsetCount() |
|
|
|
|
|
|
|
} |
|
|
|
</script> |
|
|
|
</script> |
|
|
|
|
|
|
|
|
|
|
|
<template> |
|
|
|
<template> |
|
|
@ -285,7 +294,7 @@ onUnmounted(() => { |
|
|
|
:placeholder="`${$t('general.searchIn')} ${relatedTableMeta?.title}`" |
|
|
|
:placeholder="`${$t('general.searchIn')} ${relatedTableMeta?.title}`" |
|
|
|
class="w-full !rounded-md nc-excluded-search xs:min-h-8" |
|
|
|
class="w-full !rounded-md nc-excluded-search xs:min-h-8" |
|
|
|
size="small" |
|
|
|
size="small" |
|
|
|
@change="childrenExcludedListPagination.page = 1" |
|
|
|
@change="onFilterChange" |
|
|
|
@keydown.capture.stop=" |
|
|
|
@keydown.capture.stop=" |
|
|
|
(e) => { |
|
|
|
(e) => { |
|
|
|
if (e.key === 'Escape') { |
|
|
|
if (e.key === 'Escape') { |
|
|
|