Skip to content

Commit d4202af

Browse files
committed
Add FE quick selecT
1 parent a83a281 commit d4202af

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

site/src/pages/WorkspacesPage/filter/filter.tsx

+5
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export const workspaceFilterQuery = {
2222
running: "status:running",
2323
failed: "status:failed",
2424
dormant: "dormant:true",
25+
outdated: "updated:false",
2526
};
2627

2728
type FilterPreset = {
@@ -48,6 +49,10 @@ const PRESET_FILTERS: FilterPreset[] = [
4849
query: workspaceFilterQuery.failed,
4950
name: "Failed workspaces",
5051
},
52+
{
53+
query: workspaceFilterQuery.outdated,
54+
name: "Outdated workspaces",
55+
},
5156
];
5257

5358
// Defined outside component so that the array doesn't get reconstructed each render

0 commit comments

Comments
 (0)