when delete or update uidt single select, remove the row coloring

This commit is contained in:
Fendy Heryanto
2025-06-19 03:31:03 +00:00
parent 6bf6ef47b1
commit 3e0430ed99
3 changed files with 54 additions and 25 deletions

View File

@@ -21,6 +21,8 @@ const column = computed<ColumnType>(() => {
return menuColumn?.value || canvasColumn?.value
})
const { eventBus } = useSmartsheetStoreOrThrow()
const meta = inject(MetaInj, ref())
const { getMeta } = useMetas()
@@ -84,6 +86,7 @@ const onDelete = async () => {
metaId: meta.value?.id as string,
columnIds: new Set([column.value.id as string]),
})
eventBus.emit(SmartsheetStoreEvents.FIELD_UPDATE)
$e('a:column:delete')
visible.value = false