fix frontend lints
Some checks failed
Backend Actions / check (push) Successful in 2m27s
Backend Actions / test (push) Failing after 2m37s
Backend Actions / build (push) Successful in 3m46s
Frontend Actions / check (push) Successful in 1m24s
Frontend Actions / build (push) Successful in 1m22s
Frontend Actions / test (push) Successful in 46s
Some checks failed
Backend Actions / check (push) Successful in 2m27s
Backend Actions / test (push) Failing after 2m37s
Backend Actions / build (push) Successful in 3m46s
Frontend Actions / check (push) Successful in 1m24s
Frontend Actions / build (push) Successful in 1m22s
Frontend Actions / test (push) Successful in 46s
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<RouterLink
|
||||
<RouterLink
|
||||
:to="`/servers/${id}`"
|
||||
class="block p-3 hover:bg-sky-100 rounded-lg transition-colors duration-200 border border-transparent hover:border-sky-300"
|
||||
>
|
||||
@ -9,6 +9,6 @@
|
||||
|
||||
<script setup lang="ts">
|
||||
defineProps<{
|
||||
id: string | number
|
||||
}>()
|
||||
</script>
|
||||
id: string | number;
|
||||
}>();
|
||||
</script>
|
||||
|
||||
@ -27,10 +27,12 @@ if (error.value) {
|
||||
}
|
||||
|
||||
const serversWithFallback = computed(() => {
|
||||
return servers.value || [
|
||||
{ id: "1", name: "General" },
|
||||
{ id: "2", name: "Gaming" },
|
||||
{ id: "3", name: "Tech Talk" },
|
||||
];
|
||||
return (
|
||||
servers.value || [
|
||||
{ id: "1", name: "General" },
|
||||
{ id: "2", name: "Gaming" },
|
||||
{ id: "3", name: "Tech Talk" },
|
||||
]
|
||||
);
|
||||
});
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user