mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-21 07:32:02 +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(() => ({
|
const seekTimeDurationSelect = useDeepEqualMemo(() => ({
|
||||||
options: CONSTANTS.SEEK_TIME_DURATIONS.map((size) => ({
|
options: CONSTANTS.SEEK_TIME_DURATIONS.map((size) => ({
|
||||||
value: `${size}`,
|
value: `${size}`,
|
||||||
label: `${size / 1000}s`
|
label: `${size / 1000} seconds`
|
||||||
})),
|
})),
|
||||||
selected: [`${profile.settings.seekTimeDuration}`],
|
selected: [`${profile.settings.seekTimeDuration}`],
|
||||||
renderLabelText: () => {
|
renderLabelText: () => {
|
||||||
return `${profile.settings.seekTimeDuration / 1000}s`;
|
return `${profile.settings.seekTimeDuration / 1000} seconds`;
|
||||||
},
|
},
|
||||||
onSelect: (event) => {
|
onSelect: (event) => {
|
||||||
core.transport.dispatch({
|
core.transport.dispatch({
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue