diff --git a/front/src/store/ui.ts b/front/src/store/ui.ts index f43be6d30..9caf632bc 100644 --- a/front/src/store/ui.ts +++ b/front/src/store/ui.ts @@ -1,6 +1,8 @@ import type { Module } from 'vuex' import type { RootState } from '~/store/index' import type { SUPPORTED_LOCALES } from '~/init/locale' +import type { Channel } from '~/types' +import type { components } from '~/generated/types' import axios from 'axios' import moment from 'moment' @@ -53,6 +55,9 @@ export interface State { notifications: Record websocketEventsHandlers: Record + preselectedChannelForUpload: null | [Channel, 'podcast' | 'music'] + + tags: null | components['schemas']['Tag'][] } const logger = useLogger() @@ -89,7 +94,10 @@ const store: Module = { Listen: {} }, pageTitle: null, - modalsOpen: new Set([]) + modalsOpen: new Set([]), + preselectedChannelForUpload: null, + + tags: null }, getters: { showInstanceSupportMessage: (state, getters, rootState) => {