mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Test result fixes (#564)
* Fix association of test results to templates * Fixes * Remove unused vars
This commit is contained in:
parent
b849bfc718
commit
6f5fc1d8a9
5 changed files with 76 additions and 22 deletions
|
|
@ -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();
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue