Update frontend

This commit is contained in:
Lou Knauer 2022-02-03 16:00:08 +01:00
parent e3596b4776
commit 9167959875
2 changed files with 5 additions and 1 deletions

@ -1 +1 @@
Subproject commit 147241160cea5e239998fd20a7897ec9694f3bce Subproject commit 63f98d12dd7c7cac3dbdc27e635d12f1ed4958df

View File

@ -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")
} }