mirror of https://github.com/statping/statping
changed delete downtime btn text
parent
97767e8bb8
commit
22640aa9b2
|
@ -159,10 +159,10 @@ export default {
|
||||||
handleDowntimeDelete: async function (downtime) {
|
handleDowntimeDelete: async function (downtime) {
|
||||||
const modal = {
|
const modal = {
|
||||||
visible: true,
|
visible: true,
|
||||||
title: 'Delete Service',
|
title: 'Delete Downtime',
|
||||||
body: `Are you sure you want to delete the downtime for service ${downtime.service.name}?`,
|
body: `Are you sure you want to delete the downtime for service ${downtime.service.name}?`,
|
||||||
btnColor: 'btn-danger',
|
btnColor: 'btn-danger',
|
||||||
btnText: 'Delete Service',
|
btnText: 'Delete Downtime',
|
||||||
func: () => this.delete(downtime.id),
|
func: () => this.delete(downtime.id),
|
||||||
};
|
};
|
||||||
this.$store.commit('setModal', modal);
|
this.$store.commit('setModal', modal);
|
||||||
|
|
Loading…
Reference in New Issue