fix(gui): close save menu after selecting an option
This commit is contained in:
parent
d98ecc023d
commit
b8aef2cd32
|
@ -90,10 +90,12 @@ export function ImageCard(props: ImageCardProps) {
|
|||
|
||||
function downloadImage() {
|
||||
window.open(outputs[index].url, '_blank');
|
||||
close();
|
||||
}
|
||||
|
||||
function downloadMetadata() {
|
||||
window.open(outputs[index].url + '.json', '_blank');
|
||||
close();
|
||||
}
|
||||
|
||||
function close() {
|
||||
|
|
Loading…
Reference in New Issue