added back button to downtime create and edit

pull/1097/head
smit95tpatel 2021-12-20 19:44:55 +05:30
parent aa28237f92
commit 2e4fa4b39b
2 changed files with 8 additions and 3 deletions

View File

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

View File

@ -1,8 +1,14 @@
<template>
<form>
<div class="card contain-card mb-4">
<div class="card-header">
{{ $t("downtime_info") }}
<div class="card-header d-flex align-items-center">
<button
class="btn p-0 mr-2"
@click="$router.push('/dashboard/downtimes');"
>
<FontAwesomeIcon icon="arrow-circle-left" />
</button>
<div>{{ $t("downtime_info") }}</div>
</div>
<div class="card-body">
<div class="form-group row">