mirror of
https://github.com/jpros/tacticalrmm-web.git
synced 2026-04-29 11:10:05 +00:00
remove the need to type agent name to delete agents in dashboard
This commit is contained in:
@@ -564,11 +564,11 @@ export default {
|
||||
removeAgent(agent) {
|
||||
this.$q
|
||||
.dialog({
|
||||
title: `Please type <code style="color:red">${agent.hostname}</code> to confirm deletion.`,
|
||||
title: `Please type <code style="color:red">yes</code> in the box below to confirm deletion.`,
|
||||
prompt: {
|
||||
model: "",
|
||||
type: "text",
|
||||
isValid: val => val === agent.hostname,
|
||||
isValid: val => val === "yes",
|
||||
},
|
||||
cancel: true,
|
||||
ok: { label: "Uninstall", color: "negative" },
|
||||
|
||||
Reference in New Issue
Block a user