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:
Joseph Schorr 2018-01-04 11:17:44 -05:00
parent ef42124085
commit c9fd579b06

View file

@ -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>