From 5a9755fb7818d07afea31221e8f9754db294fb72 Mon Sep 17 00:00:00 2001 From: John Cardinal Date: Thu, 8 Oct 2020 19:22:57 +0000 Subject: [PATCH] --- ayanova/src/views/ops-metrics.vue | 4 ++-- ayanova/src/views/widget.vue | 7 ++++++- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/ayanova/src/views/ops-metrics.vue b/ayanova/src/views/ops-metrics.vue index 0496c486..5cecdc91 100644 --- a/ayanova/src/views/ops-metrics.vue +++ b/ayanova/src/views/ops-metrics.vue @@ -317,13 +317,13 @@ export default { // These labels appear in the legend and in the tooltips when hovering different arcs //_.map(users, 'user'); //de-lodash - // labels: window.$gz._.map(this.db.topTables, "name"), + // labels: window.$gz. _.map(this.db.topTables, "name"), labels: this.db.topTables.map(z => z.name), datasets: [ { label: this.$ay.t("MetricTopTablesSize"), //de-lodash - // data: window.$gz._.map(this.db.topTables, "value"), + // data: window.$gz. _.map(this.db.topTables, "value"), data: this.db.topTables.map(z => z.value), backgroundColor: getPalette( this.db.topTables ? this.db.topTables.length : 3 diff --git a/ayanova/src/views/widget.vue b/ayanova/src/views/widget.vue index ef3b6c4b..c8fe0e3f 100644 --- a/ayanova/src/views/widget.vue +++ b/ayanova/src/views/widget.vue @@ -437,7 +437,12 @@ export default { //notify not found error then navigate backwards window.$gz.eventBus.$emit("notify-error", vm.$ay.t("ErrorAPI2010")); // navigate backwards - window.$gz._.delay(function() { + //de-lodash + // window.$gz._.delay(function() { + // vm.$router.go(-1); + // }, 2000); + + setTimeout(function() { vm.$router.go(-1); }, 2000); }