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