mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-30 00:34:49 +02:00
enhance(frontend): typed nirax (#16309)
* enhance(frontend): typed nirax * migrate router.replace * fix
This commit is contained in:
@@ -147,7 +147,11 @@ watch(() => props.channelId, async () => {
|
||||
}, { immediate: true });
|
||||
|
||||
function edit() {
|
||||
router.push(`/channels/${channel.value?.id}/edit`);
|
||||
router.push('/channels/:channelId/edit', {
|
||||
params: {
|
||||
channelId: props.channelId,
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function openPostForm() {
|
||||
|
||||
Reference in New Issue
Block a user