Change: アンテナ新規作成後に遷移するページを、アンテナ一覧またはフィルタリング設定のいずれかに変更 (#945)
This commit is contained in:
parent
9201eb151b
commit
d4a54a36b7
1 changed files with 5 additions and 1 deletions
|
@ -226,7 +226,11 @@ const NewAntenna: React.FC<{
|
|||
|
||||
if (isFulfilled(result)) {
|
||||
history.replace(`/antennas/${result.payload.id}/edit`);
|
||||
history.push(`/antennas/${result.payload.id}/members`);
|
||||
if (stl || ltl) {
|
||||
history.push(`/antennas`);
|
||||
} else {
|
||||
history.push(`/antennas/${result.payload.id}/filtering`);
|
||||
}
|
||||
}
|
||||
|
||||
return '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue