mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 03:26:24 +00:00
Fix URL getters
This commit is contained in:
parent
beeea794cb
commit
2dfe8921eb
7 changed files with 10 additions and 35 deletions
|
|
@ -13,7 +13,7 @@ class InvenTreeCompany extends InvenTreeModel {
|
|||
String NAME = "Company";
|
||||
|
||||
@override
|
||||
String URL = "company/";
|
||||
String get URL => "company/";
|
||||
|
||||
InvenTreeCompany() : super();
|
||||
|
||||
|
|
@ -49,7 +49,7 @@ class InvenTreeCompany extends InvenTreeModel {
|
|||
*/
|
||||
class InvenTreeSupplierPart extends InvenTreeModel {
|
||||
@override
|
||||
String URL = "company/part/";
|
||||
String get URL => "company/part/";
|
||||
|
||||
Map<String, String> _filters() {
|
||||
return {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue