Repairing Date & Datetime components
This commit is contained in:
@@ -59,8 +59,8 @@ export class CardComponent implements OnInit {
|
||||
this._loading$.next(true);
|
||||
if (this.isCreateForm()) {
|
||||
this.crudService.create(this.resource!, model).subscribe((response: any) => {
|
||||
this._loading$.next(false);
|
||||
this.router.navigateByUrl(response.id);
|
||||
this._loading$.next(false);
|
||||
this.router.navigate([`../${response.id}`], {relativeTo: this.route});
|
||||
});
|
||||
} else {
|
||||
this.crudService.update(this.resource!, model).subscribe((model: any) => {
|
||||
|
||||
Reference in New Issue
Block a user