diff options
| author | benal01 <bja4245@rit.edu> | 2025-03-06 11:01:26 -0500 | 
|---|---|---|
| committer | benal01 <bja4245@rit.edu> | 2025-03-06 11:01:26 -0500 | 
| commit | 482f60ca28be372a9f45d4160130d90c64770126 (patch) | |
| tree | d52f6eeb57a147c6c658fbbec45930ff8a34158a /ufund-ui/src/app/components | |
| parent | ba5259048771cc780bce4d2c6977496606a7d6ca (diff) | |
| download | JellySolutions-482f60ca28be372a9f45d4160130d90c64770126.tar.gz JellySolutions-482f60ca28be372a9f45d4160130d90c64770126.tar.bz2 JellySolutions-482f60ca28be372a9f45d4160130d90c64770126.zip  | |
removal of delete all form
Diffstat (limited to 'ufund-ui/src/app/components')
| -rw-r--r-- | ufund-ui/src/app/components/cupboard/cupboard.component.html | 8 | ||||
| -rw-r--r-- | ufund-ui/src/app/components/cupboard/cupboard.component.ts | 13 | 
2 files changed, 6 insertions, 15 deletions
diff --git a/ufund-ui/src/app/components/cupboard/cupboard.component.html b/ufund-ui/src/app/components/cupboard/cupboard.component.html index 6faea9b..d9a247d 100644 --- a/ufund-ui/src/app/components/cupboard/cupboard.component.html +++ b/ufund-ui/src/app/components/cupboard/cupboard.component.html @@ -1,11 +1,6 @@  <h1> Cupboard </h1>  <div id="menu">      <button (click)="opencreate()">Create new Need</button> -    <button (click)="opendestroy()">Delete all Needs</button> -</div> -<div id="destroy-form"> -    <button (click)="destroy()">Really Really sure you want to delete all needs?</button> -    <button (click)="back()">Close</button>  </div>  <div id="create-form">      <h1> Create a new need </h1> @@ -22,8 +17,9 @@          <input type="radio" name="type" value="PHYSICAL" ngModel>          <label>Physical</label><br>          <input type="submit" value="Submit">  -        <button (click)="back()">Close</button>      </form> +    <button (click)="back()">Close</button> +      </div>  <hr>  <app-need-list></app-need-list>
\ No newline at end of file diff --git a/ufund-ui/src/app/components/cupboard/cupboard.component.ts b/ufund-ui/src/app/components/cupboard/cupboard.component.ts index 213296d..2fccf18 100644 --- a/ufund-ui/src/app/components/cupboard/cupboard.component.ts +++ b/ufund-ui/src/app/components/cupboard/cupboard.component.ts @@ -41,15 +41,6 @@ export class CupboardComponent implements OnInit {        this.showElement(document.getElementById('create-form'));      } -    opendestroy() { -      this.close(); -      this.showElement(document.getElementById('destroy-form')); -    } - -    destroy() { - -    } -      back() {        this.close();        this.openmenu(); @@ -85,4 +76,8 @@ export class CupboardComponent implements OnInit {        );      } + +    destroy() { + +    }    }
\ No newline at end of file  | 
