mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-05-26 09:04:23 +02:00
enhance(frontend): typed nirax (#16309)
* enhance(frontend): typed nirax * migrate router.replace * fix
This commit is contained in:
@@ -165,7 +165,11 @@ function save() {
|
||||
os.apiWithDialog('channels/update', params);
|
||||
} else {
|
||||
os.apiWithDialog('channels/create', params).then(created => {
|
||||
router.push(`/channels/${created.id}`);
|
||||
router.push('/channels/:channelId', {
|
||||
params: {
|
||||
channelId: created.id,
|
||||
},
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user