mirror of
https://github.com/jellyfin/jellyfin-vue.git
synced 2024-10-07 03:23:37 +00:00
chore: PlayButton make track index props optional
This commit is contained in:
parent
7d4278ccdf
commit
38642294ef
@ -48,12 +48,20 @@ const props = withDefaults(
|
||||
iconOnly?: boolean;
|
||||
fab?: boolean;
|
||||
shuffle?: boolean;
|
||||
videoTrackIndex: number;
|
||||
audioTrackIndex: number;
|
||||
subtitleTrackIndex: number;
|
||||
videoTrackIndex?: number;
|
||||
audioTrackIndex?: number;
|
||||
subtitleTrackIndex?: number;
|
||||
disabled?: boolean;
|
||||
}>(),
|
||||
{ iconOnly: false, fab: false, shuffle: false, disabled: false }
|
||||
{
|
||||
iconOnly: false,
|
||||
fab: false,
|
||||
shuffle: false,
|
||||
disabled: false,
|
||||
videoTrackIndex: undefined,
|
||||
audioTrackIndex: undefined,
|
||||
subtitleTrackIndex: undefined
|
||||
}
|
||||
);
|
||||
|
||||
const playbackManager = playbackManagerStore();
|
||||
|
Loading…
Reference in New Issue
Block a user