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) {
|
if (end) {
|
||||||
endSec = convertToSec(end) + (60 * 60 * 23 + 59 * 60 + 59); // adding end of time for that particular date.
|
endSec = convertToSec(end) + (60 * 60 * 23 + 59 * 60 + 59); // adding end of time for that particular date.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
this.isLoading = true;
|
this.isLoading = true;
|
||||||
await this.$store.dispatch({ type: 'getDowntimes', payload: { ...params, start: startSec, end: endSec } });
|
await this.$store.dispatch({ type: 'getDowntimes', payload: { ...params, start: startSec, end: endSec } });
|
||||||
|
|
|
@ -1,8 +1,14 @@
|
||||||
<template>
|
<template>
|
||||||
<form>
|
<form>
|
||||||
<div class="card contain-card mb-4">
|
<div class="card contain-card mb-4">
|
||||||
<div class="card-header">
|
<div class="card-header d-flex align-items-center">
|
||||||
{{ $t("downtime_info") }}
|
<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>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="form-group row">
|
<div class="form-group row">
|
||||||
|
|
Loading…
Reference in New Issue