Skip to content

Commit

Permalink
not necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonkelly committed Dec 2, 2024
1 parent 3d3e995 commit 7aac535
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions src/templates/orders/_index.twig
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,6 @@
"Total Revenue",
]) %}

{% block initJs %}
Craft.elementIndex = Craft.createElementIndex('{{ elementType|e("js") }}', $('#page-container'), {
elementTypeName: '{{ elementInstance.displayName()|e("js") }}',
elementTypePluralName: '{{ elementInstance.pluralDisplayName()|e("js") }}',
context: '{{ context }}',
storageKey: 'elementindex.{{ elementType|e("js") }}',
toolbarSelector: '#toolbar'
});
{% endblock %}

{% if orderStatusHandle is defined and orderStatusHandle %}
{% js %}
window.defaultStatusHandle = '{{ orderStatusHandle }}';
Expand Down

0 comments on commit 7aac535

Please sign in to comment.