mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-04-04 04:51:30 +03:00
Saving a category will now cause the UI to refresh the cache of categories
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user