fix issue 'view plan,description overview when you are logout'

This commit is contained in:
amentis 2024-06-26 13:22:38 +03:00
parent 29eb7d765d
commit f18313dfa6
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
<div class="main-content pl-5 pr-5">
<div class="container-fluid pl-0 pr-0">
<div *ngIf="description && userName">
<div *ngIf="description">
<div class="row">
<div class="col-12 pl-2 mb-3">
<app-navigation-breadcrumb />
@ -201,7 +201,7 @@
<p class="authors-label">{{ dmpUser.user?.name }}</p>
</ng-container>
<ng-template #you>
<p class="authors-label">{{ userName }}
<p *ngIf="userName" class="authors-label">{{ userName }}
<span>({{ 'DESCRIPTION-OVERVIEW.YOU' | translate }})</span>
</p>
</ng-template>

View File

@ -1,6 +1,6 @@
<div class="main-content dmp-overview pl-5 pr-5">
<div class="container-fluid pl-0 pr-0">
<div *ngIf="dmp && userName">
<div *ngIf="dmp">
<div class="row">
<div class="col-12 pl-2 mb-3">
<app-navigation-breadcrumb />
@ -256,7 +256,7 @@
<p class="authors-label">{{ dmpUser.user?.name }}</p>
</ng-container>
<ng-template #you>
<p class="authors-label"> {{ userName }}
<p *ngIf="userName" class="authors-label"> {{ userName }}
<span >
({{ 'DMP-OVERVIEW.YOU' | translate }})</span>
</p>