diff options
author | sowgro <tpoke.ferrari@gmail.com> | 2025-03-31 23:37:00 -0400 |
---|---|---|
committer | sowgro <tpoke.ferrari@gmail.com> | 2025-03-31 23:37:00 -0400 |
commit | 896e1219526a19400c7143b274193f8b818d6156 (patch) | |
tree | ae794d7dff944dbdb61a558804c8530f2d7013af /ufund-ui/src/app/components/need-list/need-list.component.ts | |
parent | 469678629e456a792e5f0c328e7c6786064279cb (diff) | |
download | JellySolutions-896e1219526a19400c7143b274193f8b818d6156.tar.gz JellySolutions-896e1219526a19400c7143b274193f8b818d6156.tar.bz2 JellySolutions-896e1219526a19400c7143b274193f8b818d6156.zip |
Commit half working changes to move to my laptop
Diffstat (limited to '')
-rw-r--r-- | ufund-ui/src/app/components/need-list/need-list.component.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ufund-ui/src/app/components/need-list/need-list.component.ts b/ufund-ui/src/app/components/need-list/need-list.component.ts index 7a9d647..d641acf 100644 --- a/ufund-ui/src/app/components/need-list/need-list.component.ts +++ b/ufund-ui/src/app/components/need-list/need-list.component.ts @@ -160,6 +160,7 @@ export class NeedListComponent { delete(id : number) { this.cupboardService.deleteNeed(id).subscribe(() => { + this.toastService.sendToast(ToastType.INFO, "Need deleted.") this.needs = this.needs.filter(n => n.id !== id) }) this.refresh(); @@ -199,10 +200,7 @@ export class NeedListComponent { } else { this.toastService.sendToast(ToastType.ERROR, "This need is already in your basket!") } - - } - } back() { |