some minor fixes to get it to boot

This commit is contained in:
Henry Jameson 2021-04-24 18:04:35 +03:00
parent ced9c0fa7e
commit 509ec99574
4 changed files with 26 additions and 26 deletions

View File

@ -1,7 +1,7 @@
import { defineAsyncComponent } from 'vue'
import Modal from 'src/components/modal/modal.vue'
import PanelLoading from 'src/components/panel_loading/panel_loading.vue'
import AsyncComponentError from 'src/components/async_component_error/async_component_error.vue'
import getResettableAsyncComponent from 'src/services/resettable_async_component.js'
import Popover from '../popover/popover.vue'
import { library } from '@fortawesome/fontawesome-svg-core'
import { cloneDeep } from 'lodash'
@ -51,14 +51,12 @@ const SettingsModal = {
components: {
Modal,
Popover,
SettingsModalContent: getResettableAsyncComponent(
() => import('./settings_modal_content.vue'),
{
loading: PanelLoading,
error: AsyncComponentError,
SettingsModalContent: defineAsyncComponent({
loader: () => import('./settings_modal_content.vue'),
loadingComponent: PanelLoading,
errorComponent: AsyncComponentError,
delay: 0
}
)
})
},
methods: {
closeModal () {

View File

@ -11,6 +11,7 @@
{{ $t('settings.settings') }}
</span>
<transition name="fade">
<template>
<template v-if="currentSaveStateNotice">
<div
v-if="currentSaveStateNotice.error"
@ -28,6 +29,7 @@
{{ $t('settings.saving_ok') }}
</div>
</template>
</template>
</transition>
<button
class="btn button-default"

View File

@ -28,4 +28,4 @@
</div>
</div>
</template>
<script src="./version_tab.js">
<script src="./version_tab.js" />

View File

@ -2,7 +2,7 @@
<div class="user-panel">
<div
v-if="signedIn"
key="user-panel"
key="user-panel-signed"
class="panel panel-default signed-in"
>
<UserCard