My ng-switch is displaying both buttons instead of just one when isActive is false. Can anyone help me figure out what I am doing wrong?
<div ng-switch="user.IsActive">
<div ng-switch-when="false">
<button type="button" (click)="activateDeactivateUser(user.UserId,user.IsActive)" class="btn btn-primary active">Deactivate</button>
</div>
Activate