add status logic for adding
This commit is contained in:
		@@ -17,9 +17,11 @@
 | 
			
		||||
        name="prio"
 | 
			
		||||
        [(ngModel)]="task.priority"
 | 
			
		||||
      >
 | 
			
		||||
        <option *ngFor="let userstory of userstories" value="low">{{
 | 
			
		||||
          userstory.title
 | 
			
		||||
        }}</option>
 | 
			
		||||
        <option
 | 
			
		||||
          *ngFor="let userstory of userstories"
 | 
			
		||||
          [value]="userstory.title"
 | 
			
		||||
          >{{ userstory.title }}</option
 | 
			
		||||
        >
 | 
			
		||||
      </select>
 | 
			
		||||
    </table>
 | 
			
		||||
    <button (click)="onClose()" type="button" class="close" aria-label="Close">
 | 
			
		||||
@@ -87,7 +89,7 @@
 | 
			
		||||
              name="prio"
 | 
			
		||||
              [(ngModel)]="task.statusid"
 | 
			
		||||
            >
 | 
			
		||||
              <option *ngFor="let status of allStatus">{{
 | 
			
		||||
              <option *ngFor="let status of allStatus" [value]="status.title">{{
 | 
			
		||||
                status.title
 | 
			
		||||
              }}</option>
 | 
			
		||||
            </select>
 | 
			
		||||
 
 | 
			
		||||
@@ -103,8 +103,4 @@ export class TaskFormComponent implements OnInit {
 | 
			
		||||
      }
 | 
			
		||||
    });
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  // addNewStatus() {
 | 
			
		||||
  //   this.allStatus;
 | 
			
		||||
  // }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user