Remove single bind on time-ago component
The component is occasionally used for date times that change, so we cannot single bind Fixes https://jira.coreos.com/browse/QS-104
This commit is contained in:
parent
ef42124085
commit
c9fd579b06
1 changed files with 3 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
<span>
|
||||
<span ng-if="::$ctrl.datetime" data-title="{{ ::$ctrl.datetime | amDateFormat:'llll' }}" bs-tooltip>
|
||||
<span am-time-ago="::$ctrl.datetime"></span>
|
||||
<span ng-if="$ctrl.datetime" data-title="{{ $ctrl.datetime | amDateFormat:'llll' }}" bs-tooltip>
|
||||
<span am-time-ago="$ctrl.datetime"></span>
|
||||
</span>
|
||||
<span ng-if="::!$ctrl.datetime">Unknown</span>
|
||||
<span ng-if="!$ctrl.datetime">Unknown</span>
|
||||
</span>
|
Reference in a new issue