mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: filter workspace_build resource on start/stop action (#5809)
* fix: ufilter workspace_build resource on start/stop action * added preset filter for workspace_build filtering * cleaning up the preset filters
This commit is contained in:
@@ -35,9 +35,11 @@ const presetFilters = [
|
||||
name: "Created workspaces",
|
||||
},
|
||||
{ query: "resource_type:template action:create", name: "Added templates" },
|
||||
{ query: "resource_type:user action:create", name: "Added users" },
|
||||
{ query: "resource_type:template action:delete", name: "Deleted templates" },
|
||||
{ query: "resource_type:user action:delete", name: "Deleted users" },
|
||||
{
|
||||
query: "resource_type:workspace_build action:start",
|
||||
name: "Started builds",
|
||||
},
|
||||
]
|
||||
|
||||
export interface AuditPageViewProps {
|
||||
|
||||
Reference in New Issue
Block a user