diff --git a/src/components/chat/chat.js b/src/components/chat/chat.js index 16a03ab1d..273d9d85d 100644 --- a/src/components/chat/chat.js +++ b/src/components/chat/chat.js @@ -16,6 +16,7 @@ import { } from './chat_layout_utils.js' import { useInterfaceStore } from 'src/stores/interface.js' +import { useMergedConfigStore } from 'src/stores/merged_config.js' import { useOAuthStore } from 'src/stores/oauth.js' import { @@ -116,8 +117,8 @@ const Chat = { 'currentChat', 'currentChatMessageService', 'findOpenedChatByRecipientId', - 'mergedConfig', ]), + ...mapPiniaState(useMergedConfigStore, ['mergedConfig']), ...mapPiniaState(useInterfaceStore, { mobileLayout: (store) => store.layoutType === 'mobile', }), diff --git a/src/components/palette_editor/palette_editor.vue b/src/components/palette_editor/palette_editor.vue index b27b21f00..1a73d5fdb 100644 --- a/src/components/palette_editor/palette_editor.vue +++ b/src/components/palette_editor/palette_editor.vue @@ -59,10 +59,12 @@ import { computed } from 'vue' import ColorInput from 'src/components/color_input/color_input.vue' import ContrastRatio from 'src/components/contrast_ratio/contrast_ratio.vue' -import { getContrastRatio, hex2rgb } from 'src/services/color_convert/color_convert.js' - import { useInterfaceStore } from 'src/stores/interface.js' +import { + getContrastRatio, + hex2rgb, +} from 'src/services/color_convert/color_convert.js' import { newExporter, newImporter,