2
0
mirror of https://github.com/inventree/inventree-app.git synced 2025-06-12 10:15:32 +00:00

Structural categories (#220)

* Add support for editing "structural" tree field

- Requires API v83 or newer

* Update release notes
This commit is contained in:
Oliver
2022-11-28 20:18:57 +11:00
committed by GitHub
parent 30ea893023
commit d122a352a6
4 changed files with 29 additions and 6 deletions

View File

@ -259,6 +259,9 @@ class InvenTreeAPI {
// Notification support requires API v25 or newer
bool get supportsNotifications => isConnected() && apiVersion >= 25;
// Structural categories requires API v83 or newer
bool get supportsStructuralCategories => isConnected() && apiVersion >= 83;
// Are plugins enabled on the server?
bool _pluginsEnabled = false;