diff --git a/client/modules/IDE/actions/project.js b/client/modules/IDE/actions/project.js index 2e2bca0b..7764f28d 100644 --- a/client/modules/IDE/actions/project.js +++ b/client/modules/IDE/actions/project.js @@ -167,6 +167,8 @@ export function saveProject(selectedFile = null, autosave = false) { .catch((error) => { const { response } = error; dispatch(endSavingProject()); + dispatch(setToastText('Failed to save project.')); + dispatch(showToast(1500)); if (response.status === 403) { dispatch(showErrorModal('staleSession')); } else if (response.status === 409) { @@ -207,6 +209,8 @@ export function saveProject(selectedFile = null, autosave = false) { .catch((error) => { const { response } = error; dispatch(endSavingProject()); + dispatch(setToastText('Failed to save project.')); + dispatch(showToast(1500)); if (response.status === 403) { dispatch(showErrorModal('staleSession')); } else {