Textes are working!! need to convert image now
This commit is contained in:
@@ -29,6 +29,7 @@ export const useBrandingStore = defineStore(
|
||||
"onSurface": "#000",
|
||||
}
|
||||
const colors = ref(defaultColors)
|
||||
const presentationInfos = ref([])
|
||||
|
||||
const route = useRoute()
|
||||
watch(
|
||||
@@ -41,10 +42,12 @@ export const useBrandingStore = defineStore(
|
||||
value.value = await fetchCreatorData(newCreator)
|
||||
currentBrand.value = newCreator
|
||||
colors.value = value.value.colors
|
||||
presentationInfos.value = value.value.presentationInfos
|
||||
} else {
|
||||
value.value = {}
|
||||
currentBrand.value = undefined
|
||||
colors.value = defaultColors
|
||||
presentationInfos.value = []
|
||||
}
|
||||
}
|
||||
|
||||
@@ -66,6 +69,7 @@ export const useBrandingStore = defineStore(
|
||||
currentBrand,
|
||||
value,
|
||||
colors,
|
||||
loading
|
||||
loading,
|
||||
presentationInfos
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user