Skip to content

Commit

Permalink
Merge branch 'develop' into feat/new-card-design
Browse files Browse the repository at this point in the history
  • Loading branch information
MAudelGisaia committed Nov 5, 2024
2 parents 221ae99 + 26d0b7a commit 5ae4124
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions src/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { TranslateLoader, TranslateModule, TranslateService } from '@ngx-translate/core';
import { OAuthModule } from 'angular-oauth2-oidc';
import { GetValueModule } from 'arlas-web-components';
import { GetValueModule, GetCollectionDisplayModule } from 'arlas-web-components';
import enComponents from 'arlas-web-components/assets/i18n/en.json';
import frComponents from 'arlas-web-components/assets/i18n/fr.json';
import {
Expand Down Expand Up @@ -154,7 +154,8 @@ export class CustomTranslateLoader implements TranslateLoader {
}
}),
OAuthModule.forRoot(),
GetValueModule
GetValueModule,
GetCollectionDisplayModule
],
providers: [
SidenavService,
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/dynamic-hub/dynamic-hub.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ <h2>{{'Collections' | translate}}</h2>
[class.disabled]="!col.value.selected" (click)="getCheckbox(!col.value.selected, col.key)"
*ngFor="let col of cardCollections | keyvalue">
<mat-card-header>
{{col.key | translate}}
{{col.key | getCollectionDisplayName | translate}}
</mat-card-header>
</mat-card>
</div>
Expand Down

0 comments on commit 5ae4124

Please sign in to comment.