mirror of
https://github.com/fastapi-admin/fastapi-admin.git
synced 2026-03-13 10:32:25 +08:00
Add resource.get_compute_fields.
This commit is contained in:
@@ -91,6 +91,9 @@
|
||||
{% for label in fields_label %}
|
||||
<th>{{ label }}</th>
|
||||
{% endfor %}
|
||||
{% for compute_field in model_resource.compute_fields %}
|
||||
<th>{{ compute_field.label }}</th>
|
||||
{% endfor %}
|
||||
{% if model_resource.actions %}
|
||||
<th></th>
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user