1
0
Fork 0

fix(gui): close save menu after selecting an option

This commit is contained in:
Sean Sube 2023-07-02 17:13:34 -05:00
parent d98ecc023d
commit b8aef2cd32
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 2 additions and 0 deletions

View File

@ -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() {