1
0
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:
かっこかり
2024-12-22 13:36:17 +09:00
committed by GitHub
parent f123be38b9
commit 3c81926f71
3 changed files with 3 additions and 3 deletions

View File

@@ -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,