Skip to content

Commit

Permalink
Update queued status icon
Browse files Browse the repository at this point in the history
  • Loading branch information
AllenBW committed Jun 19, 2017
1 parent 2ea16fe commit eec8d3c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/app/shared/icon-status.component.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const IconStatusComponent = {
tooltip-popup-delay="1000"
tooltip-placement="bottom" />
<span ng-if="vm.isInprogress" class="spinner spinner-xs spinner-inline"/>
<i class="fa fa-clock-o" ng-if="vm.isQueued"
<i class="fa fa-hourglass-half" ng-if="vm.isQueued"
uib-tooltip="{{vm.status}}"
tooltip-append-to-body="true"
tooltip-popup-delay="1000"
Expand Down
2 changes: 1 addition & 1 deletion client/app/shared/icon-status.component.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ describe('Component: Icon-status', () => {
it('should display pending when status matches pending', () => {
const renderedElement = compileHtml(angular.element(`<icon-status status="'pending'" queued="['pending']"/>`), parentScope);

expect(renderedElement[0].querySelectorAll('.fa-clock-o').length).to.eq(1);
expect(renderedElement[0].querySelectorAll('.fa-hourglass-half').length).to.eq(1);
});

it('should display spinner when status is matches inprogress', () => {
Expand Down

0 comments on commit eec8d3c

Please sign in to comment.