Skip to content

Commit

Permalink
feat(ui): add 'you' indicator so the player knows that inventory/reso…
Browse files Browse the repository at this point in the history
…urces are theirs
  • Loading branch information
seiyria committed Mar 30, 2023
1 parent 391ded7 commit 88d567e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/app.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,8 @@
<ion-label>Resources</ion-label>
</ion-item>

<ion-list-header>You</ion-list-header>

<ng-container *ngIf="{ inventoryUnlocked: inventoryUnlocked$ | async } as data">
<ion-item routerDirection="root" [routerLink]="['/game', characterSlot, 'inventory']" lines="none" detail="false" routerLinkActive="selected"
[disabled]="!data.inventoryUnlocked"
Expand Down

0 comments on commit 88d567e

Please sign in to comment.