mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-06-04 11:29:37 +00:00
Settings is now a route instead of a dialog
This commit is contained in:
@@ -85,6 +85,10 @@ export class SettingsComponent implements OnInit {
|
||||
})
|
||||
}
|
||||
|
||||
cancelSettings() {
|
||||
this.new_config = JSON.parse(JSON.stringify(this.initial_config));
|
||||
}
|
||||
|
||||
dropCategory(event: CdkDragDrop<string[]>) {
|
||||
moveItemInArray(this.postsService.categories, event.previousIndex, event.currentIndex);
|
||||
this.postsService.updateCategories(this.postsService.categories).subscribe(res => {
|
||||
|
||||
Reference in New Issue
Block a user