mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat: add 'hidden' option to 'coder_app' to hide app from UI (#14570)
Add 'hidden' property to 'coder_app' resource to allow hiding apps from the UI.
This commit is contained in:
@@ -547,6 +547,7 @@ func WorkspaceApp(t testing.TB, db database.Store, orig database.WorkspaceApp) d
|
||||
HealthcheckThreshold: takeFirst(orig.HealthcheckThreshold, 60),
|
||||
Health: takeFirst(orig.Health, database.WorkspaceAppHealthHealthy),
|
||||
DisplayOrder: takeFirst(orig.DisplayOrder, 1),
|
||||
Hidden: orig.Hidden,
|
||||
})
|
||||
require.NoError(t, err, "insert app")
|
||||
return resource
|
||||
|
||||
Reference in New Issue
Block a user