Skip to content

Commit

Permalink
Merge pull request #2090 from fecgov/feature/1508-fix
Browse files Browse the repository at this point in the history
feature/1508 fix add sublabel to f24
  • Loading branch information
toddlees authored Aug 9, 2024
2 parents 29b3f66 + a2520f3 commit 641072e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<div class="col-12">
<div class="title-2">REPORT PROGRESS</div>
<div class="report-type">{{ formLabel }}</div>
<div class="sub-heading">{{ subLabel }}</div>
</div>
</div>
<div class="grid">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import { takeUntil } from 'rxjs';
})
export class F24MenuComponent extends AbstractMenuComponent implements OnInit {
formLabel?: string;
subLabel?: string;

constructor(store: Store, reportService: ReportService, router: Router) {
super(store, reportService, router);
Expand All @@ -26,6 +27,7 @@ export class F24MenuComponent extends AbstractMenuComponent implements OnInit {
if (!this.activeReport$) return;
this.activeReport$.pipe(takeUntil(this.destroy$)).subscribe((report) => {
this.formLabel = report?.formLabel;
this.subLabel = report?.formSubLabel;
});
}

Expand Down

0 comments on commit 641072e

Please sign in to comment.