mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-20 07:37:38 +01:00
fix(limited-guest): fix limited guest info missing in summary page (#9957)
Signed-off-by: He Weiwei <hweiwei@vmware.com>
This commit is contained in:
parent
abfd634644
commit
fec76c3d57
@ -696,6 +696,7 @@ func getProjectMemberSummary(projectID int64, summary *models.ProjectSummary) {
|
|||||||
{common.RoleMaster, &summary.MasterCount},
|
{common.RoleMaster, &summary.MasterCount},
|
||||||
{common.RoleDeveloper, &summary.DeveloperCount},
|
{common.RoleDeveloper, &summary.DeveloperCount},
|
||||||
{common.RoleGuest, &summary.GuestCount},
|
{common.RoleGuest, &summary.GuestCount},
|
||||||
|
{common.RoleLimitedGuest, &summary.LimitedGuestCount},
|
||||||
} {
|
} {
|
||||||
wg.Add(1)
|
wg.Add(1)
|
||||||
go func(role int, count *int64) {
|
go func(role int, count *int64) {
|
||||||
|
@ -19,6 +19,7 @@
|
|||||||
<li>{{ summaryInformation?.master_count }} {{'SUMMARY.MASTER' | translate}}</li>
|
<li>{{ summaryInformation?.master_count }} {{'SUMMARY.MASTER' | translate}}</li>
|
||||||
<li>{{ summaryInformation?.developer_count }} {{'SUMMARY.DEVELOPER' | translate}}</li>
|
<li>{{ summaryInformation?.developer_count }} {{'SUMMARY.DEVELOPER' | translate}}</li>
|
||||||
<li>{{ summaryInformation?.guest_count }} {{'SUMMARY.GUEST' | translate}}</li>
|
<li>{{ summaryInformation?.guest_count }} {{'SUMMARY.GUEST' | translate}}</li>
|
||||||
|
<li>{{ summaryInformation?.limited_guest_count }} {{'SUMMARY.LIMITED_GUEST' | translate}}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user