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