This commit is contained in:
saeid
2019-04-16 18:33:29 +04:30
parent 655d6bf800
commit ee6c36ade3
9 changed files with 65 additions and 75 deletions
+4 -4
View File
@@ -4,9 +4,9 @@
<core-modal />
<core-toolbar v-if="loggedIn" />
<core-toolbar v-if="accessToken" />
<core-drawer v-if="loggedIn" />
<core-drawer v-if="accessToken" />
<core-view />
</v-app>
@@ -14,13 +14,14 @@
<script>
import { TokenService } from '@/services';
import { mapState } from 'vuex';
export default {
data() {
return {
loggedIn : !!TokenService.getToken(),
};
},
computed: mapState('auth', ['accessToken']),
}
</script>
@@ -29,7 +30,6 @@
@import '@/styles/index.scss';
@import '@/styles/css/Assets/Main.scss';
@import '@/styles/css/Assets/WM-ModernTheme.scss';
// @import '@/fontello/fontello-embedded.scss';
/* Remove in 1.2 */
.v-datatable thead th.column.sortable i {