Settings page for clinic selection
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
import RoutePlanner from './RoutePlanner.vue';
|
||||
import RouteRecall from './RouteRecall.vue';
|
||||
import RouteInbox from './RouteInbox.vue';
|
||||
import RouteSettings from './RouteSettings.vue';
|
||||
|
||||
export default {
|
||||
components: {
|
||||
@@ -50,6 +51,7 @@
|
||||
{ name: 'Planner', href: '/planner' },
|
||||
{ name: 'Recall', href: '/recall' },
|
||||
{ name: 'Inbox', href: '/inbox' },
|
||||
{ name: 'Settings', href: '/settings' },
|
||||
]
|
||||
}
|
||||
};
|
||||
@@ -72,6 +74,7 @@
|
||||
{ path: '/planner', component: RoutePlanner },
|
||||
{ path: '/recall', component: RouteRecall },
|
||||
{ path: '/inbox', component: RouteInbox },
|
||||
{ path: '/settings', component: RouteSettings },
|
||||
].forEach(route => this.$root.$router.addRoute(route));
|
||||
await this.$root.$router.replace(this.$route);
|
||||
}
|
||||
|
Reference in New Issue
Block a user