This commit is contained in:
2025-12-15 00:17:41 +01:00
parent 060fb38bb0
commit 18f88303f3
4 changed files with 49 additions and 10 deletions

View File

@@ -1,10 +1,10 @@
<template>
<div>
<div>
{{server}}
<button @click="remove">Remove</button>
</div>
<h3>server : {{server.name}} <button @click="remove">Remove</button></h3>
</div>
<hr>
</div>
</template>
@@ -29,7 +29,7 @@ async function remove(){
if (response.ok) {
emit('remove')
} else {
console.error("Failed to fetch servers:", response.statusText)
console.error("Failed to delete server:", response.statusText)
}
}