Skip to content

Commit

Permalink
Make the overview page the default one when accessing the root kafka …
Browse files Browse the repository at this point in the history
…cluster url (#338)
  • Loading branch information
riccardo-forina authored Jan 8, 2024
1 parent 1c69acc commit 5898206
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/app/[locale]/kafka/[kafkaId]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ import { KafkaParams } from "@/app/[locale]/kafka/[kafkaId]/kafka.params";
import { redirect } from "@/navigation";

export default function KafkaRoot({ params }: { params: KafkaParams }) {
redirect(`/kafka/${params.kafkaId}/topics`);
redirect(`/kafka/${params.kafkaId}/overview`);
}

0 comments on commit 5898206

Please sign in to comment.