Skip to content

Commit

Permalink
Removing self import
Browse files Browse the repository at this point in the history
  • Loading branch information
Cavasin F committed Dec 11, 2023
1 parent 2b81e3f commit dc263d1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions templates/components/status.html.twig
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{% macro status(text, options) %}
{% import '@Tabler/components/status.html.twig' as macro %}
{% import '@Tabler/includes/utils.html.twig' as utils %}

{% set _color = options.color ?? 'green' %}
Expand All @@ -21,7 +20,7 @@
{{ utils.attr_to_html(_attr) }}
>
{% if _withDot %}
{{ macro.status_dot({animated : _animated}) }}
{{ _self.status_dot({animated : _animated}) }}
{% endif %}
{{ text }}
</span>
Expand Down

0 comments on commit dc263d1

Please sign in to comment.