From 2e4fa4b39b6ca3fba38129b39aecb671a13803ee Mon Sep 17 00:00:00 2001 From: smit95tpatel Date: Mon, 20 Dec 2021 19:44:55 +0530 Subject: [PATCH] added back button to downtime create and edit --- .../src/components/Dashboard/DashboardDowntimes.vue | 1 - frontend/src/forms/Downtime.vue | 10 ++++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/Dashboard/DashboardDowntimes.vue b/frontend/src/components/Dashboard/DashboardDowntimes.vue index 3e86abbd..738cd1fc 100644 --- a/frontend/src/components/Dashboard/DashboardDowntimes.vue +++ b/frontend/src/components/Dashboard/DashboardDowntimes.vue @@ -121,7 +121,6 @@ export default { if (end) { endSec = convertToSec(end) + (60 * 60 * 23 + 59 * 60 + 59); // adding end of time for that particular date. } - this.isLoading = true; await this.$store.dispatch({ type: 'getDowntimes', payload: { ...params, start: startSec, end: endSec } }); diff --git a/frontend/src/forms/Downtime.vue b/frontend/src/forms/Downtime.vue index e24ea427..5a2cdf42 100644 --- a/frontend/src/forms/Downtime.vue +++ b/frontend/src/forms/Downtime.vue @@ -1,8 +1,14 @@