give zipped files a containing directory to unzip into
This commit is contained in:
parent
faf018a0a5
commit
e05886aac5
6 changed files with 126 additions and 69 deletions
|
|
@ -96,7 +96,7 @@ impl DownloadingFile {
|
|||
fn selected(&self) -> Option<&UploadedFile> {
|
||||
match self.selection {
|
||||
DownloadSelection::All => None,
|
||||
DownloadSelection::One(n) => Some(self.info.contents.as_ref()?.get(n)?),
|
||||
DownloadSelection::One(n) => Some(self.info.contents.as_ref()?.files.get(n)?),
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue