fix: extract shared ssh utilities

This commit is contained in:
2026-03-13 11:05:34 +01:00
parent a2f2e8f255
commit 7c3467d85f
6 changed files with 76 additions and 145 deletions

View File

@@ -80,7 +80,6 @@
import { computed, onMounted, ref } from "vue"
import { Icon as IconifyIcon } from "@iconify/vue"
import { apiFetch } from "~/composables/useApiAuth"
import { useApiAuthHeader } from "~/composables/useApiAuth"
type BackupScript = {
key: string
@@ -120,7 +119,6 @@ const scripts = ref<BackupScript[]>([])
const output = ref<string>("")
const message = ref<string>("")
const isError = ref(false)
const apiAuthHeader = useApiAuthHeader()
const statusClass = computed(() => (isError.value ? "status-error" : "status-success"))