Skip to content

Commit

Permalink
Change: アンテナ新規作成後に遷移するページを、アンテナ一覧またはフィルタリング設定のいずれかに変更 (#945)
Browse files Browse the repository at this point in the history
  • Loading branch information
kmycode authored Dec 9, 2024
1 parent 9201eb1 commit d4a54a3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion app/javascript/mastodon/features/antennas/new.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 '';
Expand Down

0 comments on commit d4a54a3

Please sign in to comment.