fix doesn't show login button in setting page
This commit is contained in:
NekoVari 2023-12-04 19:03:55 +07:00
parent 9cbd3472d4
commit 0785bc440c

View file

@ -72,6 +72,8 @@ import {RouterLink} from 'vue-router';
import { VContainer } from 'vuetify/lib/components/index.mjs'; import { VContainer } from 'vuetify/lib/components/index.mjs';
import router from '@/plugins/router' import router from '@/plugins/router'
const currentUser = sessionStorage.getItem('current_user');
const account_items = [ const account_items = [
{ text: 'ตั้งค่าบัญชี', { text: 'ตั้งค่าบัญชี',
icon: 'mdi-chevron-right'}, icon: 'mdi-chevron-right'},
@ -107,12 +109,3 @@ const display_items = [
</script> </script>
<script>
export default {
data() {
return {
currentUser: `${sessionStorage.getItem('current_user')}`
};
}
};
</script>