|
|
|
@ -143,6 +143,8 @@ const [useProvideExpandedFormStore, useExpandedFormStore] = useInjectionState((m
|
|
|
|
|
|
|
|
|
|
comment.value = '' |
|
|
|
|
|
|
|
|
|
reloadTrigger?.trigger() |
|
|
|
|
|
|
|
|
|
await loadCommentsAndLogs() |
|
|
|
|
} catch (e: any) { |
|
|
|
|
message.error(e.message) |
|
|
|
@ -269,12 +271,6 @@ const [useProvideExpandedFormStore, useExpandedFormStore] = useInjectionState((m
|
|
|
|
|
addOrEditStackRow(row.value, isNewRow) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
// trim the display value if greater than 20chars
|
|
|
|
|
const trimmedDisplayValue = |
|
|
|
|
displayValue.value && displayValue.value?.length > 20 ? `${displayValue.value?.substring(0, 20)}...` : displayValue.value |
|
|
|
|
|
|
|
|
|
message.success(`${trimmedDisplayValue || 'Row'} updated successfully.`) |
|
|
|
|
|
|
|
|
|
changedColumns.value = new Set() |
|
|
|
|
} catch (e: any) { |
|
|
|
|
message.error(`${t('msg.error.rowUpdateFailed')}: ${await extractSdkResponseErrorMsg(e)}`) |
|
|
|
|