mirror of
https://github.com/onepanelio/onepanel.git
synced 2025-09-26 17:51:13 +08:00
fix: issue where workspace label selection wasn't working.
This commit is contained in:
@@ -113,7 +113,7 @@ func (c *Client) ListAvailableLabels(query *SelectLabelsQuery) (result []*Label,
|
||||
// Don't select labels from Terminated workspaces.
|
||||
if query.Table == "workspaces" {
|
||||
selectLabelsBuilder = selectLabelsBuilder.Where(sq.NotEq{
|
||||
"workspaces.phase": "Terminated",
|
||||
"l.phase": "Terminated",
|
||||
})
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user