mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-01 06:14:18 +02:00
fix(frontend): serverContextの値を利用する条件が間違っていたのを修正 (#15166)
This commit is contained in:
@@ -49,7 +49,7 @@ import { genEmbedCode } from '@/scripts/get-embed-code.js';
|
||||
import { assertServerContext, serverContext } from '@/server-context.js';
|
||||
|
||||
// contextは非ログイン状態の情報しかないためログイン時は利用できない
|
||||
const CTX_CLIP = $i && assertServerContext(serverContext, 'clip') ? serverContext.clip : null;
|
||||
const CTX_CLIP = !$i && assertServerContext(serverContext, 'clip') ? serverContext.clip : null;
|
||||
|
||||
const props = defineProps<{
|
||||
clipId: string,
|
||||
|
||||
Reference in New Issue
Block a user