fix: add user id to page key (#241)

This commit is contained in:
Daniel Roe 2022-11-30 09:41:14 +00:00 committed by GitHub
parent 6389cbfe38
commit b997feb6b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,7 @@ setupPageHeader()
await setupI18n() await setupI18n()
// We want to trigger rerendering the page when account changes // We want to trigger rerendering the page when account changes
const key = computed(() => useMasto().instances.config.url || 'default') const key = computed(() => currentServer.value + ':' + (currentUser.value?.account.id || ''))
</script> </script>
<template> <template>