Skip to content

Commit 53d6a6f

Browse files
committed
feat(ui): redirect to overview if no tag id is provided
1 parent 2f139b3 commit 53d6a6f

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

lib/public/views/Tags/Details/index.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ const tagDetails = (model) => {
2727
const data = model.tags.getTag();
2828
const dataLogs = model.tags.getLogsOfTag();
2929

30+
if (!model.router.params.id) {
31+
model.router.go('?page=tag-overview');
32+
return;
33+
}
34+
3035
if (!model.router.params.panel) {
3136
model.router.go(targetURL(model, 'panel', 'PanelButton1'), true);
3237
return;

0 commit comments

Comments
 (0)