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); }