mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2024-12-27 05:49:04 +01:00
Update frontend
This commit is contained in:
parent
e3596b4776
commit
9167959875
2
frontend
2
frontend
@ -1 +1 @@
|
|||||||
Subproject commit 147241160cea5e239998fd20a7897ec9694f3bce
|
Subproject commit 63f98d12dd7c7cac3dbdc27e635d12f1ed4958df
|
@ -36,6 +36,10 @@ func buildFilterPresets(query url.Values) map[string]interface{} {
|
|||||||
filterPresets["project"] = query.Get("project")
|
filterPresets["project"] = query.Get("project")
|
||||||
filterPresets["projectMatch"] = "eq"
|
filterPresets["projectMatch"] = "eq"
|
||||||
}
|
}
|
||||||
|
if query.Get("user") != "" {
|
||||||
|
filterPresets["user"] = query.Get("user")
|
||||||
|
filterPresets["userMatch"] = "eq"
|
||||||
|
}
|
||||||
if query.Get("state") != "" && schema.JobState(query.Get("state")).Valid() {
|
if query.Get("state") != "" && schema.JobState(query.Get("state")).Valid() {
|
||||||
filterPresets["state"] = query.Get("state")
|
filterPresets["state"] = query.Get("state")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user