fix: remove unnecessary type-casting
This commit is contained in:
parent
0feaafff21
commit
3def386b05
1 changed files with 1 additions and 1 deletions
|
|
@ -169,7 +169,7 @@ data-fieldname="{{ df.fieldname }}" data-fieldtype="{{ df.fieldtype }}"
|
|||
{%- if df.print_width.endswith("%") -%}
|
||||
{{ df.print_width }}
|
||||
{%- else -%}
|
||||
{{ (df.print_width|str).replace("px", "") }}px
|
||||
{{ df.print_width.replace("px", "") }}px
|
||||
{%- endif -%}
|
||||
{%- elif df.fieldtype in ("Int", "Check", "Float", "Currency") -%}{{ 80 }}px
|
||||
{%- else -%}{{ 150 }}px{% endif -%}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue