1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-06-03 16:34:23 +02:00
This commit is contained in:
syuilo
2025-08-25 17:12:11 +09:00
parent 692284886b
commit 1c966db324
3 changed files with 11 additions and 24 deletions

View File

@@ -131,6 +131,8 @@ watch(() => props.channelId, async () => {
channel.value = await misskeyApi('channels/show', {
channelId: props.channelId,
});
if (channel.value == null) return; // TSを黙らすため
favorited.value = channel.value.isFavorited ?? false;
if (favorited.value || channel.value.isFollowing) {
tab.value = 'timeline';
@@ -150,7 +152,7 @@ function edit() {
router.push('/channels/:channelId/edit', {
params: {
channelId: props.channelId,
}
},
});
}