diff --git a/web/src/layouts/MainLayout.vue b/web/src/layouts/MainLayout.vue index 47bd177e06..fd4fc7ce98 100644 --- a/web/src/layouts/MainLayout.vue +++ b/web/src/layouts/MainLayout.vue @@ -88,8 +88,7 @@ along with this program. If not, see . class="warning-msg" style="display: inline" > - {{ + {{ store.state.organizationData.quotaThresholdMsg }} @@ -159,9 +158,18 @@ class="padding-none" /> - + - + {{ t("menu.slack") }} @@ -169,7 +177,11 @@ class="padding-none" /> - + {{ t("menu.help") }} @@ -221,14 +233,24 @@ class="padding-none" /> @click="router.push({ name: 'settings' })" > - + {{ t("menu.settings") }} - + - + {{ t("menu.language") }} @@ -360,8 +381,7 @@ class="padding-none" /> @click="signout" > - + {{ t("menu.signOut") }} @@ -580,7 +600,6 @@ export default defineComponent({ "functionList", "streamFunctions", "enrichmentTables", - "alerts", "alertList", "alertDestinations", "alertTemplates", @@ -646,7 +665,7 @@ export default defineComponent({ title: t("menu.alerts"), icon: outlinedReportProblem, link: "/alerts", - name: "alerts", + name: "alertList", }, { title: t("menu.ingestion"), @@ -1280,7 +1299,7 @@ export default defineComponent({ } } -.q-toolbar{ +.q-toolbar { min-height: 40px; } diff --git a/web/src/views/AppAlerts.vue b/web/src/views/AppAlerts.vue index 695a8bf868..4f726b863c 100644 --- a/web/src/views/AppAlerts.vue +++ b/web/src/views/AppAlerts.vue @@ -44,28 +44,6 @@ export default defineComponent({ const destinations = ref([]); const splitterModel = ref(160); - onBeforeMount(() => { - redirectRoute(); - }); - - watch( - () => router.currentRoute.value.name, - (routeName) => { - // This is handled for browser back button, as it was redirecting to this app alerts page and not alert list page - if (routeName === "alerts") router.back(); - } - ); - - const redirectRoute = () => { - if (router.currentRoute.value.name === "alerts") { - router.push({ - name: "alertList", - query: { - org_identifier: store.state.selectedOrganization.identifier, - }, - }); - } - }; const getTemplates = () => { // if (store.state.selectedOrganization.status == "active") { templateService @@ -92,7 +70,6 @@ export default defineComponent({ splitterModel, getTemplates, getDestinations, - redirectRoute, t, store, }; diff --git a/web/src/views/HomeView.vue b/web/src/views/HomeView.vue index f2b1435152..a47e81610e 100644 --- a/web/src/views/HomeView.vue +++ b/web/src/views/HomeView.vue @@ -23,8 +23,7 @@ along with this program. If not, see . :class="store.state.theme === 'dark' ? 'dark-theme' : 'light-theme'" > - + {{ t("home.streams") }} {{ summary.streams_count }} @@ -51,8 +50,7 @@ bordered class="my-card q-py-md"> - {{ t("home.view") }} - + {{ t("home.queryFunctions") }} {{ summary.query_fns }} {{ t("home.ingestFunctions") }} @@ -73,8 +70,7 @@ bordered class="my-card q-py-md"> - {{ t("home.view") }} - + {{ t("home.scheduledAlert") }} {{ summary.scheduled_alerts }} {{ t("home.rtAlert") }} @@ -95,12 +90,11 @@ bordered class="my-card q-py-md"> - {{ t("home.view") }} @@ -114,8 +108,7 @@ flat style="margin: 0 auto; justify-content: center" > - + {{ t("home.noData") }} {{ t("home.ingestionMsg") }}