mirror of https://github.com/statping/statping
added back button to downtime create and edit
parent
aa28237f92
commit
2e4fa4b39b
|
@ -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 } });
|
||||
|
|
|
@ -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">
|
||||
|
|
Loading…
Reference in New Issue