2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-12-22 20:13:13 +00:00

Fix URL getters

This commit is contained in:
Oliver
2021-08-09 07:51:46 +10:00
parent beeea794cb
commit 2dfe8921eb
7 changed files with 10 additions and 35 deletions

View File

@@ -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 {