2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-07-11 08:04:14 +00:00

More linting again

This commit is contained in:
Oliver
2021-09-28 21:34:11 +10:00
parent 77bac9af36
commit be36811cb3
20 changed files with 68 additions and 75 deletions

View File

@ -114,7 +114,7 @@ class InvenTreeStockItem extends InvenTreeModel {
String get URL => "stock/";
@override
String WEB_URL = "stock/item/";
String get WEB_URL => "stock/item/";
@override
Map<String, dynamic> formFields() {
@ -549,7 +549,7 @@ class InvenTreeStockLocation extends InvenTreeModel {
// TODO - Drive the refactor tractor through this
List<String> psplit = pathstring.split("/");
if (psplit.length > 0) {
if (psplit.isNotEmpty) {
psplit.removeLast();
}