feat: use script setup for no auth wrapper
continuous-integration/drone/pr Build is passing Details

This commit is contained in:
kolaente 2021-11-10 20:07:50 +01:00
parent f2c8cdd3be
commit 699d5bdc88
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 5 additions and 13 deletions

View File

@ -15,21 +15,13 @@
</div>
</template>
<script>
<script setup>
import logoUrl from '@/assets/logo-full.svg'
import {mapState} from 'vuex'
import {useStore} from 'vuex'
import {computed} from 'vue'
export default {
name: 'no-auth-wrapper',
data() {
return {
logoUrl,
}
},
computed: mapState({
motd: state => state.config.motd,
}),
}
const store = useStore()
const motd = computed(() => store.state.config.motd)
</script>
<style lang="scss" scoped>