mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-29 19:36:20 -05:00
Fixing Channel page directory selection.
This commit is contained in:
parent
ed439256fb
commit
c05078c513
4 changed files with 12 additions and 44 deletions
|
|
@ -28,10 +28,6 @@ export function Upload({disabled}) {
|
|||
}
|
||||
}, [destination]);
|
||||
|
||||
const handleDestination = (value) => {
|
||||
setDestination(value);
|
||||
}
|
||||
|
||||
let progressBars;
|
||||
if (!_.isEmpty(progresses)) {
|
||||
progressBars = Object.entries(progresses).map(([name, value]) => {
|
||||
|
|
@ -71,7 +67,7 @@ export function Upload({disabled}) {
|
|||
<SForm.Field required>
|
||||
<label>Destination</label>
|
||||
<DirectorySearch
|
||||
onSelect={handleDestination}
|
||||
onSelect={i => setDestination(i)}
|
||||
disabled={disabled}
|
||||
style={{marginBottom: '0.5em'}}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue