change torrent profile implemented

This commit is contained in:
nklhrstv 2020-02-11 13:05:25 +02:00
parent 45c7c4ab33
commit b0ef3f89d6

View file

@ -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]);