From e2be75ca4b4220c273e5ccb9ad869a93fc375873 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Fri, 24 Jul 2020 13:49:24 +0000 Subject: [PATCH] --- ayanova/devdocs/todo.txt | 2 ++ ayanova/src/views/home-notify-subscription.vue | 18 ++++++++++++++---- 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/ayanova/devdocs/todo.txt b/ayanova/devdocs/todo.txt index 7e510b42..37219e32 100644 --- a/ayanova/devdocs/todo.txt +++ b/ayanova/devdocs/todo.txt @@ -43,6 +43,8 @@ todo: Localize this message or get rid of it, it's annoying and possibly useless ########################## +todo: ops backup file list not in order by date, seems to be random or something, I want newest at top oldest at bottom + todo: add method to continue on to requested url when a login needs to happen (like capture the requested url and if found after login go to it) todo: clean out leftover openurl stuff from old system diff --git a/ayanova/src/views/home-notify-subscription.vue b/ayanova/src/views/home-notify-subscription.vue index eb6753d5..33f4ab58 100644 --- a/ayanova/src/views/home-notify-subscription.vue +++ b/ayanova/src/views/home-notify-subscription.vue @@ -350,12 +350,22 @@ export default { }, showAttachReportId() { //TODO: Many others as well, but for now until those objects exist - return this.obj.eventType != 27; //general notification has no tags - - //return true; + switch (this.obj.eventType) { + case 27: //General notification + case 20: //backup status + return false; + default: + return true; + } }, showTags() { - return this.obj.eventType != 27; //general notification has no tags + switch (this.obj.eventType) { + case 27: //General notification + case 20: //backup status + return false; + default: + return true; + } } }, methods: {