Fixing Channel page directory selection.

This commit is contained in:
Roland 2024-10-04 12:19:49 -06:00
parent ed439256fb
commit c05078c513
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
4 changed files with 12 additions and 44 deletions

View file

@ -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'}}
/>