| @@ -72,7 +72,7 @@ const StatusItem = ({ | |||
| const [e] = await asyncRunSafe<CommonResponse>(opApi({ datasetId, documentId: id }) as Promise<CommonResponse>) | |||
| if (!e) { | |||
| notify({ type: 'success', message: t('common.actionMsg.modifiedSuccessfully') }) | |||
| onUpdate?.() | |||
| onUpdate?.(operationName) | |||
| } | |||
| else { notify({ type: 'error', message: t('common.actionMsg.modifiedUnsuccessfully') }) } | |||
| } | |||