Fix class template
This commit is contained in:
parent
30033a3320
commit
20e7632a95
|
|
@ -53,7 +53,7 @@ import LeadKit
|
|||
return false
|
||||
}
|
||||
|
||||
return{%- if hasParent %} super.isEqual(to: other){%- endif %}{%- if (fields is not empty) and hasParent %} &&{% endif %} {% include 'blocks/class/fields-equal.twig' with { fields: fields } %}
|
||||
return{%- if hasParent %} super.isEqual(to: other){%- endif %}{%- if (fields is not empty) and hasParent %} &&{% endif %} {% include 'blocks/class/fields-equal.twig' with { fields: fields } %}{% if (fields is empty) and (not hasParent) %} false{% endif %}
|
||||
}{{ "\n" }}
|
||||
{%- endif %}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue