aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbenal01 <bja4245@rit.edu>2025-03-17 18:44:51 -0400
committerbenal01 <bja4245@rit.edu>2025-03-17 18:44:51 -0400
commit3f64404c23a95f3625754a79a753ed5ed4df3001 (patch)
tree00e42c5b82c7d27e9ddedece005ad0090a5b50b3
parent0287d0ebd22b88c2d41f2bdb67db812c35d9024c (diff)
downloadJellySolutions-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.ts6
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 = {