Skip to content

feat: add impending deletion indicators to the workspace page #7588

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
May 18, 2023
Prev Previous commit
Next Next commit
remove commented code
  • Loading branch information
Kira-Pilot committed May 17, 2023
commit 92d036573e333d539f27258fe0cbb5ae32e1e4be
3 changes: 0 additions & 3 deletions site/src/pages/WorkspacesPage/WorkspacesPageView.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ export interface WorkspacesPageViewProps {
onPageChange: (page: number) => void
onFilter: (query: string) => void
onUpdateWorkspace: (workspace: Workspace) => void
// allowAdvancedScheduling: boolean
// allowWorkspaceActions: boolean
}

export const WorkspacesPageView: FC<
Expand Down Expand Up @@ -126,7 +124,6 @@ export const WorkspacesPageView: FC<
}
/>
</Maybe>
{/* <DeletionBanner/> determines its own visibility */}
<DeletionBanner
workspace={workspaces?.find((workspace) => workspace.deleting_at)}
displayImpendingDeletionBanner={isNewWorkspacesImpendingDeletion()}
Expand Down