diff options
| -rw-r--r-- | ufund-ui/src/app/components/cupboard/cupboard.component.ts | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/ufund-ui/src/app/components/cupboard/cupboard.component.ts b/ufund-ui/src/app/components/cupboard/cupboard.component.ts index 5a8773d..fc5d7dd 100644 --- a/ufund-ui/src/app/components/cupboard/cupboard.component.ts +++ b/ufund-ui/src/app/components/cupboard/cupboard.component.ts @@ -19,6 +19,12 @@ needs: any;        this.cupboardService.getNeeds().subscribe(n => this.needs = n);        this.close();        this.openmenu(); + +      if (this.isManager()) { +        console.log("Admin view of Cupboard"); +      } else { +        console.log("Limited helper view of Cupboard"); +      }      }      selectedNeed: any = { | 
