refactor(frontend): use generic features for actions (#13343)

* remove hardcoded support fields

* add generic lookup hook

* use new generic modelfeature

* remove redundant permission

* fix memo

* remove enabled -> add labels to company
This commit is contained in:
Matthias Mair authored and GitHub committed 2026-11-24 07:49:52 +11:00
1 parent 629a411612
commit adfd393c92
17 files changed
+272 -197

No files matched your search

+1
View File
@@ -9,5 +9,6 @@ export enum ModelFeature {
tags = 'org.inventree.i.modelfeatures.tags',
image = 'org.inventree.i.modelfeatures.image',
report = 'org.inventree.i.modelfeatures.report',
label = 'org.inventree.i.modelfeatures.label', // for now this is frontend only for overrides
history = 'org.inventree.i.modelfeatures.history'
}