aboutsummaryrefslogtreecommitdiff
path: root/web/script/player/profiles.ts
diff options
context:
space:
mode:
Diffstat (limited to 'web/script/player/profiles.ts')
-rw-r--r--web/script/player/profiles.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/script/player/profiles.ts b/web/script/player/profiles.ts
index b23fbaf..021834c 100644
--- a/web/script/player/profiles.ts
+++ b/web/script/player/profiles.ts
@@ -25,8 +25,8 @@ export class ProfileSelector {
) {
}
async init() {
- for (let id = 0; id < this.track.index.extra_profiles.length; id++) {
- const p = this.track.index.extra_profiles[id];
+ for (let id = 0; id < this.track.index!.extra_profiles.length; id++) {
+ const p = this.track.index!.extra_profiles[id];
if (!await test_media_capability(profile_to_partial_track(p))) continue
this.profiles.push({ id, order: 0, ...p })
}