Fix condition for showing agent-manager as higher activity agent

This commit is contained in:
Jesús Ángel 2018-10-31 11:16:42 +01:00
parent b1a5897bb5
commit e8c67a36cd

View File

@ -40,9 +40,9 @@
</div>
<div layout="row" class="wz-padding-top-10">
<p flex="35" class="manager-status-subtitle">Higher activity</p>
<p ng-if="mostActiveAgent.id !== '000'" class="wz-text-right wz-text-link" tooltip="Click to open this agent" tooltip-placement="right"
<p ng-show="mostActiveAgent.id !== '000'" class="wz-text-right wz-text-link" tooltip="Click to open this agent" tooltip-placement="right"
ng-click="showAgent(mostActiveAgent)">{{mostActiveAgent.name}}</p>
<p ng-if="mostActiveAgent.id === '000'" class="wz-text-right" tooltip-placement="right">{{mostActiveAgent.name}} (manager)</p>
<p ng-show="mostActiveAgent.id === '000'" class="wz-text-right" tooltip-placement="right">{{mostActiveAgent.name}}</p>
</div>
</md-card-content>
</md-card>