This commit is contained in:
Henry Jameson 2024-11-20 15:27:17 +02:00
parent 691a79e3be
commit b32909a9e6

View file

@ -321,7 +321,6 @@ const interfaceMod = {
commit('setOption', { name: 'customThemeSource', value: null }) commit('setOption', { name: 'customThemeSource', value: null })
}, },
async getThemeData ({ dispatch, commit, rootState, state }) { async getThemeData ({ dispatch, commit, rootState, state }) {
console.log('GET THEME DATA CALLED')
const getData = async (resource, index, customData, name) => { const getData = async (resource, index, customData, name) => {
const capitalizedResource = resource[0].toUpperCase() + resource.slice(1) const capitalizedResource = resource[0].toUpperCase() + resource.slice(1)
const result = {} const result = {}
@ -473,12 +472,6 @@ const interfaceMod = {
) )
state.styleNameUsed = style.nameUsed state.styleNameUsed = style.nameUsed
state.styleDataUsed = style.dataUsed state.styleDataUsed = style.dataUsed
console.log(
'GOT THEME DATA',
state.styleDataUsed,
state.paletteDataUsed
)
} else { } else {
const theme = await getData( const theme = await getData(
'theme', 'theme',