mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-19 21:45:39 +00:00
Merge remote-tracking branch 'inventree/master' into partial-shipment
This commit is contained in:
@ -27,6 +27,9 @@ function {{ label }}StatusDisplay(key, options={}) {
|
||||
label = {{ label }}Codes[key].label;
|
||||
}
|
||||
|
||||
// Fallback option for label
|
||||
label = label || 'bg-dark';
|
||||
|
||||
if (value == null || value.length == 0) {
|
||||
value = key;
|
||||
label = '';
|
||||
|
Reference in New Issue
Block a user