Add gitpod related changes

environments/review-front-deve-otr6gc/deployments/13419
wvffle 2022-06-24 20:12:54 +00:00 zatwierdzone przez Georg Krause
rodzic 70495c6a27
commit 15e62d62f6
3 zmienionych plików z 3 dodań i 2 usunięć

Wyświetl plik

@ -28,7 +28,8 @@ export const install: InitModule = async ({ store, router }) => {
const defaultInstanceUrl = store.state.instance.frontSettings.defaultServerUrl
store.commit('instance/instanceUrl', defaultInstanceUrl)
} else {
// needed to trigger initialization of axios / service worker / web socket
// NOTE: Needed to trigger initialization of axios / service worker / web socket
// TODO (wvffle): Check if it is really needed
store.commit('instance/instanceUrl', store.state.instance.instanceUrl)
}
}

Wyświetl plik

@ -58,6 +58,7 @@ const store: Module<State, RootState> = {
namespaced: true,
state: {
frontSettings: {
// TODO (wvffle): Remove all checks if the variable exists
defaultServerUrl: instanceUrl,
additionalStylesheets: []
},

Wyświetl plik

@ -43,7 +43,6 @@ export default defineConfig(() => ({
navigateFallback: 'index.html'
}
}),
{
name: 'fix-fomantic-ui-css',
transform (src, id) {