diff options
author | benal01 <bja4245@rit.edu> | 2025-03-17 18:44:51 -0400 |
---|---|---|
committer | benal01 <bja4245@rit.edu> | 2025-03-17 18:44:51 -0400 |
commit | 3f64404c23a95f3625754a79a753ed5ed4df3001 (patch) | |
tree | 00e42c5b82c7d27e9ddedece005ad0090a5b50b3 | |
parent | 0287d0ebd22b88c2d41f2bdb67db812c35d9024c (diff) | |
download | JellySolutions-3f64404c23a95f3625754a79a753ed5ed4df3001.tar.gz JellySolutions-3f64404c23a95f3625754a79a753ed5ed4df3001.tar.bz2 JellySolutions-3f64404c23a95f3625754a79a753ed5ed4df3001.zip |
console feedback based on user access level
-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 = { |