🐛 make filename changes trigger editor change detection
This commit is contained in:
parent
5df76c249a
commit
434cf6da21
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue