rename home route to dashboard

This commit is contained in:
Gamebrary 2020-09-28 16:26:19 -07:00
parent 60a24f5ef9
commit 5269fb78d6
3 changed files with 3 additions and 3 deletions

View file

@ -2,7 +2,7 @@
<nav <nav
class="position-fixed d-flex flex-column p-0 vh-100 text-center border-right border-light" class="position-fixed d-flex flex-column p-0 vh-100 text-center border-right border-light"
> >
<router-link :to="{ name: 'home' }" class="mt-2 mb-3"> <router-link :to="{ name: 'dashboard' }" class="mt-2 mb-3">
<!-- TODO: use svg, change color based on theme --> <!-- TODO: use svg, change color based on theme -->
<img :src="logoUrl" width="32" /> <img :src="logoUrl" width="32" />
</router-link> </router-link>

View file

@ -235,7 +235,7 @@ export default {
this.loading = false; this.loading = false;
this.$bvToast.toast('Board removed', { title: 'Success', variant: 'success' }); this.$bvToast.toast('Board removed', { title: 'Success', variant: 'success' });
this.$router.push({ name: 'home' }); this.$router.push({ name: 'dashboard' });
}, },
async saveSettings() { async saveSettings() {

View file

@ -16,7 +16,7 @@ Vue.use(Router);
export default new Router({ export default new Router({
routes: [ routes: [
{ {
name: 'home', name: 'dashboard',
path: '/', path: '/',
component: Dashboard, component: Dashboard,
meta: { meta: {