Open andre-badenhorst-crust-tech opened 1 year ago
When looking at templating logic operators for conditional rendering, there seems to be no possible way to compare string comparisons using '=='.
The resource was found on stackoverflow
It was found that replacing the below code works for checking string values. New code : {{if eq $element.type "credit_note"}} Old code : {{if $element.type == "credit_note"}}
When looking at templating logic operators for conditional rendering, there seems to be no possible way to compare string comparisons using '=='.
The resource was found on stackoverflow
It was found that replacing the below code works for checking string values. New code : {{if eq $element.type "credit_note"}} Old code : {{if $element.type == "credit_note"}}