fix(frontend): serverContextの値を利用する条件が間違っていたのを修正 (#15166)
This commit is contained in:
parent
f123be38b9
commit
3c81926f71
3 changed files with 3 additions and 3 deletions
|
|
@ -54,7 +54,7 @@ const XGallery = defineAsyncComponent(() => import('./gallery.vue'));
|
|||
const XRaw = defineAsyncComponent(() => import('./raw.vue'));
|
||||
|
||||
// contextは非ログイン状態の情報しかないためログイン時は利用できない
|
||||
const CTX_USER = $i && assertServerContext(serverContext, 'user') ? serverContext.user : null;
|
||||
const CTX_USER = !$i && assertServerContext(serverContext, 'user') ? serverContext.user : null;
|
||||
|
||||
const props = withDefaults(defineProps<{
|
||||
acct: string;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue