Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Commit

Permalink
fix(card): fix workitem type icon
Browse files Browse the repository at this point in the history
  • Loading branch information
sahil143 committed Jul 30, 2018
1 parent 1738e85 commit 1437b4c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<ng-template #cardHeader>
<div class="f8-custom-card-header">
<div class="wi-type-icon-wrapper">
<span class="fa fa-bullseye"></span>
<span class="{{workItem.type?.icon}}"></span>
</div>
<div class="title-wrapper" (click)="titleClick(workItem, $event);">
<span>{{ workItem.number }}: </span>
Expand Down
2 changes: 1 addition & 1 deletion src/app/effects/work-item-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { WorkItemUI } from '../models/work-item';

export function workitemMatchesFilter(route, filterService, workItemService, workitem): Observable<WorkItemUI> {
const currentRoute = route.queryParams;
if (currentRoute['boardContextId'] && currentRoute.hasOwnProperty('boardContextId')) {
if (currentRoute['q'].includes('boardContextId')) {
return Observable.of(workitem);
}
if (Object.keys(currentRoute).length === 0 && currentRoute.constructor === Object) {
Expand Down

0 comments on commit 1437b4c

Please sign in to comment.