diff --git a/striker-ui/components/Files/EditFileForm.tsx b/striker-ui/components/Files/EditFileForm.tsx index 3dfb6334..9da9a019 100644 --- a/striker-ui/components/Files/EditFileForm.tsx +++ b/striker-ui/components/Files/EditFileForm.tsx @@ -111,6 +111,9 @@ const EditFileForm: FC = (props) => { api .put(`/file/${file.uuid}`, body) + .then(() => { + setApiMessage({ children: <>File updated. }); + }) .catch((error) => { const emsg = handleAPIError(error);