fix: list should be user-only (#1581)

This commit is contained in:
Joaquín Sánchez 2023-02-02 22:35:18 +01:00 committed by GitHub
parent e58d09b6cc
commit fc706f9050
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 23 additions and 4 deletions

View file

@ -1,6 +1,10 @@
<script setup lang="ts">
import type { CommonRouteTabOption } from '~/components/common/CommonRouteTabs.vue'
definePageMeta({
middleware: 'auth',
})
const list = $computed(() => useRoute().params.list as string)
const server = $computed(() => useRoute().params.server as string)