🐛 make filename changes trigger editor change detection

This commit is contained in:
ghalestrilo 2020-04-07 20:15:32 -03:00
parent 5df76c249a
commit 434cf6da21
1 changed files with 2 additions and 2 deletions

View File

@ -137,8 +137,8 @@ export function createFolder(formProps) {
export function updateFileName(id, name, updatedName = '') {
return (dispatch) => {
// Notify Changes if necessary
// Update the Filename
if (name !== updatedName) dispatch(setUnsavedChanges(true));
dispatch({
type: ActionTypes.UPDATE_FILE_NAME,
id,