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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user