Label printing fix (#587)

* Handle blank URL provided for file download

* Improved printing checks

* Auto-select the correct printer
This commit is contained in:
Oliver 2024-12-23 09:57:13 +11:00 committed by GitHub
parent dc8191c3d8
commit bc44b99d43
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 26 additions and 10 deletions

View file

@ -904,7 +904,7 @@ class InvenTreeUserSetting extends InvenTreeGlobalSetting {
@override
InvenTreeGlobalSetting createFromJson(Map<String, dynamic> json) {
return InvenTreeGlobalSetting.fromJson(json);
return InvenTreeUserSetting.fromJson(json);
}
@override