|
|
@ -53,6 +53,8 @@ const { t } = useI18n() |
|
|
|
|
|
|
|
|
|
|
|
const { isMetaReadOnly } = useRoles() |
|
|
|
const { isMetaReadOnly } = useRoles() |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const { eventBus } = useSmartsheetStoreOrThrow() |
|
|
|
|
|
|
|
|
|
|
|
const columnLabel = computed(() => props.columnLabel || t('objects.field')) |
|
|
|
const columnLabel = computed(() => props.columnLabel || t('objects.field')) |
|
|
|
|
|
|
|
|
|
|
|
const { $e } = useNuxtApp() |
|
|
|
const { $e } = useNuxtApp() |
|
|
@ -179,6 +181,8 @@ const onSelectType = (uidt: UITypes) => { |
|
|
|
const reloadMetaAndData = async () => { |
|
|
|
const reloadMetaAndData = async () => { |
|
|
|
await getMeta(meta.value?.id as string, true) |
|
|
|
await getMeta(meta.value?.id as string, true) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
eventBus.emit(SmartsheetStoreEvents.FIELD_RELOAD) |
|
|
|
|
|
|
|
|
|
|
|
if (!isKanban.value) { |
|
|
|
if (!isKanban.value) { |
|
|
|
reloadDataTrigger?.trigger() |
|
|
|
reloadDataTrigger?.trigger() |
|
|
|
} |
|
|
|
} |
|
|
|