Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Commit

Permalink
Use observable directly
Browse files Browse the repository at this point in the history
  • Loading branch information
dhaavi committed Apr 25, 2023
1 parent d1dbc89 commit a11ceca
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ <h3 [innerHTML]="setting?.Name | safe:'html'" class="mb-0 name"></h3>
<span class="flex flex-row items-center justify-start space-x-2"
*ngIf="setting?.ReleaseLevel !== releaseLevel.Stable ||
setting?.ExpertiseLevel !== expertise.user ||
currentExpertiseLevel === expertiseNames.Developer">
(expertiseLevel|async) === expertiseNames.Developer">

<span class="inline-block px-1.5 py-0.5 bg-gray-400 rounded text-xxs text-secondary"
*appExpertiseLevel="'developer'">{{setting?.Key}}</span>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -415,10 +415,6 @@ export class GenericSettingComponent<S extends BaseSetting<any, any>> implements
return this.expertiseService.change;
}

get currentExpertiseLevel() {
return this.expertiseService.currentLevel;
}

constructor(
private expertiseService: ExpertiseService,
private configService: ConfigService,
Expand Down

0 comments on commit a11ceca

Please sign in to comment.