Skip to content

Commit

Permalink
feat: wip
Browse files Browse the repository at this point in the history
  • Loading branch information
shahargl committed Nov 10, 2024
1 parent aaca072 commit 7113502
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions keep-ui/app/alerts/alerts.client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,11 @@ export default function AlertsPage({ presetName }: AlertsPageProps) {

if (status === "unauthenticated") {
console.log("unauthenticated");
debugger;
router.push("/signin");
}

if (session && !session.tenantId) {
console.log("no tenantId");
debugger;
router.push("/signin");
}

Expand Down
1 change: 0 additions & 1 deletion keep-ui/app/alerts/alerts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,6 @@ export default function Alerts({ presetName }: AlertsProps) {
if (alertsError) {
if (alertsError.statusCode === 401) {
console.log("unauthenticated 401");
debugger;
window.location.href = "/signin";
return null;
}
Expand Down
1 change: 0 additions & 1 deletion keep-ui/app/providers/page.client.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ export default function ProvidersPage({
}
if (status === "loading") return <Loading />;
if (status === "unauthenticated") {
debugger;
router.push("/signin");
}
if (!providers || !installedProviders || providers.length <= 0)
Expand Down
1 change: 0 additions & 1 deletion keep-ui/app/workflows/[workflow_id]/executions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ export default function WorkflowDetailPage({

useEffect(() => {
if (status === "unauthenticated") {
debugger;
router.push("/signin");
}
}, [status, router]);
Expand Down

0 comments on commit 7113502

Please sign in to comment.