I got value from json in table, and I need if else statement. If value == enabled - some code.. else - some code.
example:
<md-table-cell>
<span v-if="{{row.status}} == 'enabled'">
<span>ENABLED<md-icon class="md-raised">check_circle</md-icon></span>
</span>
<span v-else>
<span>DISABLED <md-icon class="md-raised">cancel</md-icon></span>
</span>
</md-table-cell>
So, I need something like that. Any suggestions?
v-if="row.status == 'enabled'"