From 3e5792def794639d7a8cfd8da4e65f727ef040cf Mon Sep 17 00:00:00 2001 From: MaKyOtOx Date: Wed, 12 Jan 2022 11:12:42 +0100 Subject: [PATCH] fix monitored button --- frontend/src/components/pages/Vulns.vue | 22 ++++++++-------------- 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/frontend/src/components/pages/Vulns.vue b/frontend/src/components/pages/Vulns.vue index d102f429..0a15d5f2 100644 --- a/frontend/src/components/pages/Vulns.vue +++ b/frontend/src/components/pages/Vulns.vue @@ -7,8 +7,6 @@ Vulnerabilities
- All  @@ -17,7 +15,10 @@ @click="toggleShowLastDay()">Last 24h  Last Week + @click="toggleShowLastWeek()">Last Week  + Monitored
-
- - + - - - - @@ -418,6 +409,9 @@ export default { this.show_last_day = false; } }, + toggleMonitored() { + this.show_monitored = !this.show_monitored; + }, showManageMetadataButtons(){ let p = JSON.parse(this.getUserProfile()); if (p != null && 'manage_metadata' in p){