Mercurial > gemma
comparison client/src/App.vue @ 641:14dfab4e6e32
refac: rename application/user to application/userbar to improve naming consistency
author | Thomas Junk <thomas.junk@intevation.de> |
---|---|
date | Thu, 13 Sep 2018 11:26:25 +0200 |
parents | 13bccabbf7c5 |
children | 83081ba6c9c1 |
comparison
equal
deleted
inserted
replaced
640:68a00310cb4a | 641:14dfab4e6e32 |
---|---|
14 <div class="rightcontainer"> | 14 <div class="rightcontainer"> |
15 | 15 |
16 </div> | 16 </div> |
17 </div> | 17 </div> |
18 <div class="bottomcontainer d-flex flex-row align-items-end"> | 18 <div class="bottomcontainer d-flex flex-row align-items-end"> |
19 <User v-if="isAuthenticated"></User> | 19 <Userbar v-if="isAuthenticated"></Userbar> |
20 </div> | 20 </div> |
21 </div> | 21 </div> |
22 <div class="d-flex flex-column"> | 22 <div class="d-flex flex-column"> |
23 <router-view/> | 23 <router-view/> |
24 </div> | 24 </div> |
84 | 84 |
85 <script> | 85 <script> |
86 import Sidebar from "./application/Sidebar"; | 86 import Sidebar from "./application/Sidebar"; |
87 import Topbar from "./application/Topbar"; | 87 import Topbar from "./application/Topbar"; |
88 import { mapGetters } from "vuex"; | 88 import { mapGetters } from "vuex"; |
89 import User from "./application/User"; | 89 import Userbar from "./application/Userbar"; |
90 | 90 |
91 export default { | 91 export default { |
92 name: "app", | 92 name: "app", |
93 computed: { | 93 computed: { |
94 ...mapGetters("user", ["isAuthenticated"]) | 94 ...mapGetters("user", ["isAuthenticated"]) |
95 }, | 95 }, |
96 components: { | 96 components: { |
97 Sidebar, | 97 Sidebar, |
98 Topbar, | 98 Topbar, |
99 User | 99 Userbar |
100 } | 100 } |
101 }; | 101 }; |
102 </script> | 102 </script> |