mirror of
https://github.com/inventree/InvenTree.git
synced 2025-06-27 17:20:49 +00:00
remove import / export calls
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* Status codes for the {{ label }} model.
|
||||
*/
|
||||
export const {{ label }}Codes = {
|
||||
const {{ label }}Codes = {
|
||||
{% for opt in options %}'{{ opt.key }}': {
|
||||
key: '{{ opt.key }}',
|
||||
value: '{{ opt.value }}',{% if opt.color %}
|
||||
@ -15,7 +15,7 @@ export const {{ label }}Codes = {
|
||||
* Uses the values specified in "status_codes.py"
|
||||
* This function is generated by the "status_codes.html" template
|
||||
*/
|
||||
export function {{ label }}StatusDisplay(key, options={}) {
|
||||
function {{ label }}StatusDisplay(key, options={}) {
|
||||
|
||||
key = String(key);
|
||||
|
||||
|
Reference in New Issue
Block a user