mirror of https://github.com/Lissy93/dashy.git
🩹 Fixes cannot type with modal open
This commit is contained in:
parent
eae8dc476c
commit
048f0cb112
|
@ -100,8 +100,10 @@ export default {
|
|||
},
|
||||
/* Closes the theme color configurator popup */
|
||||
closeThemeConfigurator() {
|
||||
this.$store.commit(Keys.SET_MODAL_OPEN, false);
|
||||
this.themeConfiguratorOpen = false;
|
||||
if (this.themeConfiguratorOpen) {
|
||||
this.$store.commit(Keys.SET_MODAL_OPEN, false);
|
||||
this.themeConfiguratorOpen = false;
|
||||
}
|
||||
},
|
||||
/* Updates theme. Checks if the new theme is local or external,
|
||||
and calls appropirate updating function. Updates local storage */
|
||||
|
|
Loading…
Reference in New Issue