1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-05-24 01:04:16 +02:00

enhance(frontend): チャンネル指定リノートでリノート先のチャンネルに移動できるように (#17280)

* enhance(frontend): チャンネル指定リノートでリノート先のチャンネルに移動できるように

* Update Changelog

* fix condition

* refactor
This commit is contained in:
かっこかり
2026-04-05 17:22:17 +09:00
committed by GitHub
parent 8169c57bd1
commit 0b7b59f1e2
7 changed files with 59 additions and 21 deletions

View File

@@ -3,7 +3,7 @@
* SPDX-License-Identifier: AGPL-3.0-only
*/
import type { InjectionKey, Ref } from 'vue';
import type { InjectionKey, Ref, ComputedRef } from 'vue';
import type { PageMetadata } from '@/page.js';
import type { Router } from '@/router.js';
@@ -18,4 +18,5 @@ export const DI = {
mfmEmojiReactCallback: Symbol() as InjectionKey<(emoji: string) => void>,
inModal: Symbol() as InjectionKey<boolean>,
inAppSearchMarkerId: Symbol() as InjectionKey<Ref<string | null>>,
inChannel: Symbol() as InjectionKey<ComputedRef<string | null> | null>, // 現在開いているチャンネルのID
};