fix formatter

This commit is contained in:
Matthias Mair 2022-03-15 13:43:41 +01:00 committed by GitHub
parent cba0ca26ba
commit e4c293f721
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -272,6 +272,9 @@ $('#price-break-table').inventreeTable({
field: 'updated',
title: '{% trans "Last updated" %}',
sortable: true,
formatter: function(value) {
return renderDate(value);
}
},
]
});
@ -354,4 +357,4 @@ $('#delete-part').click(function() {
enableSidebar('supplierpart');
{% endblock %}
{% endblock %}