mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
use seconds label in the multiselect options
This commit is contained in:
parent
c7d13fbaf3
commit
4df2da82c9
1 changed files with 2 additions and 2 deletions
|
|
@ -113,11 +113,11 @@ const useProfileSettingsInputs = (profile) => {
|
|||
const seekTimeDurationSelect = useDeepEqualMemo(() => ({
|
||||
options: CONSTANTS.SEEK_TIME_DURATIONS.map((size) => ({
|
||||
value: `${size}`,
|
||||
label: `${size / 1000}s`
|
||||
label: `${size / 1000} seconds`
|
||||
})),
|
||||
selected: [`${profile.settings.seekTimeDuration}`],
|
||||
renderLabelText: () => {
|
||||
return `${profile.settings.seekTimeDuration / 1000}s`;
|
||||
return `${profile.settings.seekTimeDuration / 1000} seconds`;
|
||||
},
|
||||
onSelect: (event) => {
|
||||
core.transport.dispatch({
|
||||
|
|
|
|||
Loading…
Reference in a new issue