Move clock from login block to AppBar

main
Warinyourself 3 weeks ago
parent dbbc7c8ffe
commit aac645601a

@ -1,8 +1,6 @@
import { defineComponent, computed, onMounted } from 'vue'
import { usePageStore } from '@/store/page'
import { useAppStore } from '@/store/app'
import UserAvatar from './UserAvatar'
import UserClock from './UserClock'
import UserInput from './UserInput'
import { focusInputPassword } from '@/utils/helper'
@ -10,7 +8,6 @@ export default defineComponent({
name: 'LoginComponent',
setup() {
const pageStore = usePageStore()
const appStore = useAppStore()
const activeBlock = computed(() => pageStore.activeBlock)
@ -21,7 +18,6 @@ export default defineComponent({
return () => (
<div class={`block-${activeBlock.value?.id}`}>
<div class="active-interface login-view">
{appStore.showTime && <UserClock />}
<UserAvatar />
<UserInput />
</div>

Loading…
Cancel
Save