mirror of
https://github.com/romancm/gamebrary
synced 2024-11-30 23:09:14 +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
|
<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>
|
||||||
|
|
|
@ -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() {
|
||||||
|
|
|
@ -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: {
|
||||||
|
|
Loading…
Reference in a new issue