This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
Zaimki/routes/user.vue

31 lines
588 B
Vue

<template>
<div>
<h2>
<Icon v="user"/>
<T>user.headerLong</T>
</h2>
<Account v-if="$user()"/>
<MfaValidation v-else-if="preToken"/>
<Login v-else/>
</div>
</template>
<script>
import { head } from "../src/helpers";
import {mapState} from "vuex";
export default {
computed: {
...mapState([
'preToken',
]),
},
head() {
return head({
title: this.$t('user.headerLong'),
});
},
}
</script>