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
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 -->
<img :src="logoUrl" width="32" />
</router-link>

View file

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

View file

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