Skip to content

Commit

Permalink
Merge pull request primefaces#183 from Nanitor/development
Browse files Browse the repository at this point in the history
Development
  • Loading branch information
Alfred Hall authored Mar 29, 2019
2 parents eb2173d + 2d5cabb commit 4eb25ba
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 0 additions & 2 deletions src/organization/device/device_detail.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
for="staleaccounts" class="label-filter-pane">Stale Accounts (&gt;90 days)</label>
</div>
</context-filter-section>
<label-filter-section #section></label-filter-section>
</side-filter>

<side-filter #filterPanel *ngIf="isTabSelected(GROUP_POLICY_TAB_INDEX)" (onFilterChange)="updateProfileFilters($event)">
Expand Down Expand Up @@ -89,7 +88,6 @@
<input type="checkbox" class="checkbox" id="resolved" (click)="filterChanged($event)" [(ngModel)]="serviceDeviceIncident.userFiltersState['resolved']"/><label for="resolved" class="label-filter-pane">Resolved Incidents</label>
</div>
</context-filter-section>
<label-filter-section #section></label-filter-section>
</side-filter>

<side-filter #filterPanel *ngIf="isTabSelected(PATCH_TAB_INDEX)" (onFilterChange)="updateProfileFilters($event)">
Expand Down
7 changes: 5 additions & 2 deletions src/organization/device/device_list.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,7 +194,7 @@ export class DeviceListComponent implements OnInit {

this.ptable.first = 0;

this.customReuseStrategyService.routeReused$.subscribe((d: any) => {
const routeReusedHandler = (d: any) => {
if (this.route.snapshot.url == d.url) {
this.selectedId = this.route.snapshot.queryParams['id'];
if (this.selectedId) {
Expand Down Expand Up @@ -222,7 +222,10 @@ export class DeviceListComponent implements OnInit {
this.savedScrollPos = scrollPos;
}
}
});
};

routeReusedHandler({url: this.route.snapshot.url});
this.customReuseStrategyService.routeReused$.subscribe(routeReusedHandler);

this.badgeContainers.changes.subscribe(() => {
this.determineBadges();
Expand Down

0 comments on commit 4eb25ba

Please sign in to comment.