From 71247927215fe313329c4529177ed1e505c67043 Mon Sep 17 00:00:00 2001 From: Tzahi12345 Date: Mon, 29 May 2023 22:08:24 -0400 Subject: [PATCH] Updated recent-videos for angular 16 --- src/app/components/recent-videos/recent-videos.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/components/recent-videos/recent-videos.component.ts b/src/app/components/recent-videos/recent-videos.component.ts index 0edcdb98..8058d745 100644 --- a/src/app/components/recent-videos/recent-videos.component.ts +++ b/src/app/components/recent-videos/recent-videos.component.ts @@ -380,8 +380,8 @@ export class RecentVideosComponent implements OnInit { fileSelectionChanged(event: MatSelectionListChange): void { // TODO: make sure below line is possible (_selected is private) - const adding = event.option['_selected']; - const value = event.option.value; + const adding = event.options[0]['_selected']; + const value = event.options[0].value; if (adding) { this.selected_data.push(value.uid); this.selected_data_objs.push(value);