mirror of
https://github.com/Lissy93/dashy.git
synced 2026-01-24 08:42:07 +01:00
Fix theme initialization in workspace view by integrating ThemingMixin into HomeMixin
Co-authored-by: JDB321Sailor <212125521+JDB321Sailor@users.noreply.github.com>
This commit is contained in:
parent
dfa08bac4d
commit
fc0bd9aa58
3 changed files with 24825 additions and 1813 deletions
22774
package-lock.json
generated
Normal file
22774
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -6,8 +6,10 @@ import Defaults, { localStorageKeys, iconCdns } from '@/utils/defaults';
|
|||
import Keys from '@/utils/StoreMutations';
|
||||
import { searchTiles } from '@/utils/Search';
|
||||
import { checkItemVisibility } from '@/utils/CheckItemVisibility';
|
||||
import ThemingMixin from '@/mixins/ThemingMixin';
|
||||
|
||||
const HomeMixin = {
|
||||
mixins: [ThemingMixin],
|
||||
props: {
|
||||
subPageInfo: Object,
|
||||
},
|
||||
|
|
@ -73,9 +75,7 @@ const HomeMixin = {
|
|||
}
|
||||
},
|
||||
setTheme() {
|
||||
// const theme = this.getSubPageTheme() || GetTheme();
|
||||
// ApplyLocalTheme(theme);
|
||||
// ApplyCustomVariables(theme);
|
||||
this.initializeTheme();
|
||||
},
|
||||
updateModalVisibility(modalState) {
|
||||
this.$store.commit('SET_MODAL_OPEN', modalState);
|
||||
|
|
|
|||
Loading…
Reference in a new issue