I have the following line
<div class="row" data-hns-target="salesChannel" data-hns-condition="^@Model.SeenSalesChannel$">
Model.SeenSalesChannel is an enumeration. I would like to convert this value to the corresponding int value, but
<div class="row" data-hns-target="salesChannel" data-hns-condition="^@(int)Model.SeenSalesChannel$">
not valid. What else could I do?
source share