Skip to content

Commit

Permalink
Update header menu item
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsimons committed Apr 19, 2024
1 parent 6229f83 commit 5c7ca66
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ServicePulse.Host/vue/src/components/PageHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import MonitoringMenuItem from "@/components/monitoring/MonitoringMenuItem.vue";
import EventsMenuItem from "@/components/events/EventsMenuItem.vue";
import DashboardMenuItem from "@/components/dashboard/DashboardMenuItem.vue";
import FeedbackButton from "@/components/FeedbackButton.vue";
import ThroughputMenuItem from "@/views/throughputreport/ThroughputMenuItem.vue";
// prettier-ignore
const menuItems = computed(
Expand All @@ -21,6 +22,7 @@ const menuItems = computed(
FailedMessagesMenuItem,
CustomChecksMenuItem,
EventsMenuItem,
ThroughputMenuItem,
ConfigurationMenuItem,
FeedbackButton,
]);
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<script setup lang="ts">
import { RouterLink } from "vue-router";
import routeLinks from "@/router/routeLinks";
</script>

<template>
<RouterLink :to="routeLinks.throughputReport.root">
<i class="fa fa-file-text-o icon-white" title="Throughput Report"></i>
<span class="navbar-label">Throughput Report</span>
</RouterLink>
</template>

<style scoped>
@import "@/assets/navbar.css";
@import "@/assets/header-menu-item.css";
</style>

0 comments on commit 5c7ca66

Please sign in to comment.