Last change
on this file since 84d0fbb was 84d0fbb, checked in by Ema <ema_spirova@…>, 3 years ago |
spring security 2.0
|
-
Property mode
set to
100644
|
File size:
736 bytes
|
Line | |
---|
1 | import { Component, OnInit } from '@angular/core';
|
---|
2 | import { DynamicDialogRef } from 'primeng/dynamicdialog';
|
---|
3 | import { PlannerDto } from '../_models/dto/plannerDto';
|
---|
4 | import { Planner } from '../_models/planner';
|
---|
5 |
|
---|
6 | @Component({
|
---|
7 | selector: 'app-create-initial-planner',
|
---|
8 | templateUrl: './create-initial-planner.component.html',
|
---|
9 | styleUrls: ['./create-initial-planner.component.css']
|
---|
10 | })
|
---|
11 | export class CreateInitialPlannerComponent implements OnInit {
|
---|
12 |
|
---|
13 | planner: Planner;
|
---|
14 |
|
---|
15 | constructor( private ref: DynamicDialogRef) {
|
---|
16 | this.planner = new Planner;
|
---|
17 | }
|
---|
18 |
|
---|
19 | ngOnInit(): void {
|
---|
20 | this.planner = new Planner();
|
---|
21 | }
|
---|
22 |
|
---|
23 | onFormSubmitPlanner(planner){
|
---|
24 | this.ref.close(planner);
|
---|
25 | window.location.reload();
|
---|
26 | }
|
---|
27 |
|
---|
28 |
|
---|
29 | } |
---|
Note:
See
TracBrowser
for help on using the repository browser.