|
|
|
@ -30,7 +30,6 @@ const [useProvideExpandedFormStore, useExpandedFormStore] = useInjectionState((m
|
|
|
|
|
const { project } = useProject() |
|
|
|
|
const rowStore = useProvideSmartsheetRowStore(meta, row) |
|
|
|
|
const { sharedView } = useSharedView() as Record<string, any> |
|
|
|
|
const reloadTrigger = inject(ReloadViewDataHookInj)! |
|
|
|
|
|
|
|
|
|
// todo
|
|
|
|
|
// const activeView = inject(ActiveViewInj)
|
|
|
|
@ -170,7 +169,6 @@ const [useProvideExpandedFormStore, useExpandedFormStore] = useInjectionState((m
|
|
|
|
|
message.success(`${primaryValue.value || 'Row'} updated successfully.`) |
|
|
|
|
|
|
|
|
|
changedColumns.value = new Set() |
|
|
|
|
reloadTrigger?.trigger() |
|
|
|
|
} catch (e: any) { |
|
|
|
|
message.error(`${t('msg.error.rowUpdateFailed')}: ${await extractSdkResponseErrorMsg(e)}`) |
|
|
|
|
} |
|
|
|
|