feat: prevent mixing data on account switch (#384)

This commit is contained in:
Joaquín Sánchez 2022-12-12 00:30:26 +01:00 committed by GitHub
parent 8c82c91056
commit de160c219a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 42 additions and 26 deletions

View file

@ -1,4 +1,8 @@
<script setup lang="ts">
definePageMeta({
key: route => `${route.params.server}:${route.params.account}`,
})
const params = useRoute().params
const accountName = $(computedEager(() => toShortHandle(params.account as string)))