mirror of
https://github.com/inventree/InvenTree.git
synced 2026-11-28 10:34:34 +00:00
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:
1 parent
629a411612
commit
adfd393c92
17 files changed
+272
-197
No files matched your search
@@ -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'
|
||||
}
|
||||
Reference in new issue
Block a user