diff --git a/src/app/dialogs/edit-category-dialog/edit-category-dialog.component.ts b/src/app/dialogs/edit-category-dialog/edit-category-dialog.component.ts index 928ff1c..294414e 100644 --- a/src/app/dialogs/edit-category-dialog/edit-category-dialog.component.ts +++ b/src/app/dialogs/edit-category-dialog/edit-category-dialog.component.ts @@ -88,6 +88,7 @@ export class EditCategoryDialogComponent implements OnInit { this.postsService.updateCategory(this.category).subscribe(res => { this.updating = false; this.original_category = JSON.parse(JSON.stringify(this.category)); + this.postsService.reloadCategories(); }, err => { this.updating = false; console.error(err);