removed standalone wiki and attachments forms and menu links

This commit is contained in:
2020-04-19 21:59:58 +00:00
parent 128332eb19
commit bdd2fda823
4 changed files with 27 additions and 80 deletions

View File

@@ -35,10 +35,10 @@ const scrollBehavior = function(to, from, savedPosition) {
}
// eslint-disable-next-line
return new Promise(resolve => {
return new Promise((resolve) => {
// check if any matched route config has meta that requires scrolling to top
// eslint-disable-next-line
if (to.matched.some(m => m.meta.scrollToTop)) {
if (to.matched.some((m) => m.meta.scrollToTop)) {
// coords will be used if no selector is provided,
// or if the selector didn't match any element.
position.x = 0;
@@ -430,18 +430,7 @@ export default new Router({
/* webpackChunkName: "ay-common" */ "./views/ay-data-list-view.vue"
)
},
{
path: "/attachments/:ayatype/:recordid",
name: "ay-attachments",
component: () =>
import(/* webpackChunkName: "ay-common" */ "./views/ay-attachments.vue")
},
{
path: "/wiki/:ayatype/:recordid",
name: "ay-wiki",
component: () =>
import(/* webpackChunkName: "ay-common" */ "./views/ay-wiki.vue")
},
{
path: "/review/:ayatype/:recordid",
name: "ay-review",