mirror of
https://github.com/Tzahi12345/YoutubeDL-Material.git
synced 2026-03-20 03:30:55 +03:00
Improved archive viewer
Added archive importing
This commit is contained in:
@@ -21,6 +21,7 @@ import { AboutDialogComponent } from './dialogs/about-dialog/about-dialog.compon
|
||||
import { UserProfileDialogComponent } from './dialogs/user-profile-dialog/user-profile-dialog.component';
|
||||
import { SetDefaultAdminDialogComponent } from './dialogs/set-default-admin-dialog/set-default-admin-dialog.component';
|
||||
import { NotificationsComponent } from './components/notifications/notifications.component';
|
||||
import { ArchiveViewerComponent } from './components/archive-viewer/archive-viewer.component';
|
||||
|
||||
@Component({
|
||||
selector: 'app-root',
|
||||
@@ -207,6 +208,12 @@ export class AppComponent implements OnInit, AfterViewInit {
|
||||
});
|
||||
}
|
||||
|
||||
openArchivesDialog(): void {
|
||||
this.dialog.open(ArchiveViewerComponent, {
|
||||
width: '85vw'
|
||||
});
|
||||
}
|
||||
|
||||
notificationCountUpdate(new_count: number): void {
|
||||
this.notification_count = new_count;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user