FIX: Refresh category order after save (#11936)

The changes were not visible immediately after saving reordered
categories.
This commit is contained in:
Bianca Nenciu 2021-02-03 07:44:13 +02:00 committed by GitHub
parent 6d72c8ab19
commit 3744e49190
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ export default Controller.extend(ModalFunctionality, Evented, {
type: "POST",
data: { mapping: JSON.stringify(data) },
})
.then(() => this.send("closeModal"))
.then(() => window.location.reload())
.catch(popupAjaxError);
},
},