mirror of
https://github.com/romancm/gamebrary
synced 2024-11-28 06:00:22 +00:00
rename home route to dashboard
This commit is contained in:
parent
60a24f5ef9
commit
5269fb78d6
3 changed files with 3 additions and 3 deletions
|
@ -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>
|
||||
|
|
|
@ -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() {
|
||||
|
|
|
@ -16,7 +16,7 @@ Vue.use(Router);
|
|||
export default new Router({
|
||||
routes: [
|
||||
{
|
||||
name: 'home',
|
||||
name: 'dashboard',
|
||||
path: '/',
|
||||
component: Dashboard,
|
||||
meta: {
|
||||
|
|
Loading…
Reference in a new issue