mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-03-11 21:27:05 +00:00
change torrent profile implemented
This commit is contained in:
parent
45c7c4ab33
commit
b0ef3f89d6
1 changed files with 12 additions and 0 deletions
|
|
@ -113,6 +113,18 @@ const useStreaminServerSettingsInputs = () => {
|
|||
|
||||
return result;
|
||||
}, 'custom');
|
||||
},
|
||||
onSelect: (event) => {
|
||||
core.dispatch({
|
||||
action: 'Ctx',
|
||||
args: {
|
||||
action: 'UpdateSettings',
|
||||
args: {
|
||||
...streaminServer.settings,
|
||||
...JSON.parse(event.value)
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
};
|
||||
}, [streaminServer.type, streaminServer.settings]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue