Turn on edit mode and close, then show banner on hompage when edit mode on

This commit is contained in:
Alicia Sykes
2021-10-17 20:10:59 +01:00
parent ef57a5be1f
commit 31a2d74461
2 changed files with 8 additions and 0 deletions

View File

@@ -229,6 +229,8 @@ export default {
/* Ensure conditional is updated, once menu closed */
closeEditMenu() {
this.editMenuOpen = false;
this.$modal.hide(modalNames.EDIT_ITEM);
this.$store.commit(StoreKeys.SET_MODAL_OPEN, false);
},
/* Used for smart-sort when sorting items by most used apps */
incrementMostUsedCount(itemId) {