Skip to content

Commit

Permalink
Merge branch 'develop' into feature/1205-Resource-fetching-Improvemen…
Browse files Browse the repository at this point in the history
…t-OVH
  • Loading branch information
mlabouardy authored Nov 16, 2023
2 parents 1f52858 + 7865a15 commit ebffd92
Show file tree
Hide file tree
Showing 2 changed files with 217 additions and 215 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -110,14 +110,16 @@ function getCustomViewInventoryListAndStats({
}
}
});
} else {
setTimeout(() => router.push(router.pathname), 5000);
return showToast({
hasError: true,
title: `Invalid view`,
message: `We couldn't find this view. Redirecting back to home...`
});
}
}
// TODO: https://github.com/tailwarden/komiser/issues/1208
// else {
// setTimeout(() => router.push(router.pathname), 5000);
// return showToast({
// hasError: true,
// title: `Invalid view`,
// message: `We couldn't find this view. Redirecting back to home...`
// });
// }
}
return null;
}
Expand Down
Loading

0 comments on commit ebffd92

Please sign in to comment.