diff --git a/src/ui_ng/src/app/project/create-project/create-project.component.html b/src/ui_ng/src/app/project/create-project/create-project.component.html index 23053f2fb..d674fa7c8 100644 --- a/src/ui_ng/src/app/project/create-project/create-project.component.html +++ b/src/ui_ng/src/app/project/create-project/create-project.component.html @@ -25,7 +25,7 @@
- {{ accessLevelDisplayText | translate}} + {{ 'PROJECT.PUBLIC' | translate}} {{'PROJECT.INLINE_HELP_PUBLIC' | translate }} diff --git a/src/ui_ng/src/app/project/create-project/create-project.component.ts b/src/ui_ng/src/app/project/create-project/create-project.component.ts index 2ec6cbcfb..a3ff35664 100644 --- a/src/ui_ng/src/app/project/create-project/create-project.component.ts +++ b/src/ui_ng/src/app/project/create-project/create-project.component.ts @@ -71,10 +71,7 @@ export class CreateProjectComponent implements AfterViewChecked, OnInit, OnDestr constructor(private projectService: ProjectService, private translateService: TranslateService, private messageHandlerService: MessageHandlerService) { } - - public get accessLevelDisplayText(): string { - return this.project.metadata.public ? 'PROJECT.PUBLIC' : 'PROJECT.PRIVATE'; - } + ngOnInit(): void { this.proNameChecker