Skip to content

Commit 57f54e7

Browse files
sluFicodesSHENGXING LU
andauthored
show usage spec option (#183)
Co-authored-by: SHENGXING LU <slu@SHENGXINGs-MacBook-Air.local>
1 parent 2d29324 commit 57f54e7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app/shared/header/header.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@
197197
Analytics
198198
</a>
199199
</li>
200-
@if(roles.includes('seller')){
200+
@if(roles.includes(sellerRole)){
201201
<li>
202202
<button data-cy="usageSpecs" id="usageSpecs" (click)="goTo('/usage-spec')" class="flex w-full justify-left px-4 py-2 hover:bg-gray-100 dark:hover:bg-gray-600 dark:hover:text-white"><fa-icon [icon]="faRuler" class="mr-2"></fa-icon>Usage Spec</button>
203203
</li>

0 commit comments

Comments
 (0)