aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/need-edit/need-edit.component.ts
diff options
context:
space:
mode:
authorsowgro <tpoke.ferrari@gmail.com>2025-04-04 17:22:10 -0400
committersowgro <tpoke.ferrari@gmail.com>2025-04-04 17:22:10 -0400
commitd85eeb6918d521197c2e6ad1e3da2dec8ce95398 (patch)
tree69747e9666542e1766603d753b7fd06d1be9801b /ufund-ui/src/app/components/need-edit/need-edit.component.ts
parent5a0bdd977d1e0f659c9ced795def86f031665759 (diff)
downloadJellySolutions-d85eeb6918d521197c2e6ad1e3da2dec8ce95398.tar.gz
JellySolutions-d85eeb6918d521197c2e6ad1e3da2dec8ce95398.tar.bz2
JellySolutions-d85eeb6918d521197c2e6ad1e3da2dec8ce95398.zip
Edit modal
Diffstat (limited to 'ufund-ui/src/app/components/need-edit/need-edit.component.ts')
-rw-r--r--ufund-ui/src/app/components/need-edit/need-edit.component.ts9
1 files changed, 5 insertions, 4 deletions
diff --git a/ufund-ui/src/app/components/need-edit/need-edit.component.ts b/ufund-ui/src/app/components/need-edit/need-edit.component.ts
index 2462534..d312183 100644
--- a/ufund-ui/src/app/components/need-edit/need-edit.component.ts
+++ b/ufund-ui/src/app/components/need-edit/need-edit.component.ts
@@ -1,8 +1,9 @@
import { Component, Input, Output, EventEmitter } from '@angular/core';
-import { Need, GoalType } from '../../models/Need';
+import { Need, GoalType } from '../../models/Need';
import { CupboardService } from '../../services/cupboard.service';
import { catchError, of } from 'rxjs';
import { ToastsService, ToastType } from '../../services/toasts.service';
+import {ModalService} from '../../services/modal.service';
@Component({
selector: 'app-need-edit',
@@ -13,8 +14,8 @@ import { ToastsService, ToastType } from '../../services/toasts.service';
export class NeedEditComponent {
constructor(
private cupboardService: CupboardService,
- private toastService: ToastsService
-
+ private toastService: ToastsService,
+ protected modalService: ModalService
) {}
@Input() selectedNeed!: Need;
@@ -58,4 +59,4 @@ export class NeedEditComponent {
);
}
-} \ No newline at end of file
+}