Test result fixes (#564)

* Fix association of test results to templates

* Fixes

* Remove unused vars
This commit is contained in:
Oliver 2024-12-06 10:59:49 +11:00 committed by GitHub
parent b849bfc718
commit 6f5fc1d8a9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 76 additions and 22 deletions

View file

@ -97,7 +97,6 @@ class InvenTreeModel {
if (data.containsKey(key)) {
return data[key];
} else {
debug("JSON data does not contain key '$key' (subKey '${subKey}')");
return backup;
}
}
@ -427,13 +426,17 @@ class InvenTreeModel {
}
}
Map<String, String> defaultListFilters() {
Map<String, String> defaultFilters() {
return {};
}
Map<String, String> defaultListFilters() {
return defaultFilters();
}
// A map of "default" headers to use when performing a GET request
Map<String, String> defaultGetFilters() {
return {};
return defaultFilters();
}
/*