diff --git a/ayanova/src/router.js b/ayanova/src/router.js index 4a70af92..d7532de5 100644 --- a/ayanova/src/router.js +++ b/ayanova/src/router.js @@ -34,8 +34,10 @@ const scrollBehavior = function(to, from, savedPosition) { return false; } + // eslint-disable-next-line 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)) { // coords will be used if no selector is provided, // or if the selector didn't match any element. diff --git a/ayanova/src/views/ops-server-state.vue b/ayanova/src/views/ops-server-state.vue index a98a93c9..8efa7d03 100644 --- a/ayanova/src/views/ops-server-state.vue +++ b/ayanova/src/views/ops-server-state.vue @@ -1,31 +1,289 @@