Enhanced notification & configure default queue action

This commit is contained in:
space-nuko
2023-05-09 16:01:41 -05:00
parent 30198c3808
commit e107b65db7
19 changed files with 412 additions and 103 deletions

View File

@@ -54,11 +54,11 @@
> .inner {
padding: 2px;
width: 100%;
height: 100%;
display: flex;
flex-direction: row;
height: min-content;
:global(> label) {
:global(> .block > label) {
height: 100%;
}
}

View File

@@ -84,6 +84,7 @@
}
})
history.pushState({ type: "gallery" }, "");
mobileLightbox = f7.photoBrowser.create({
photos: images,
@@ -152,7 +153,7 @@
$: node.anyImageSelected = selected_image != null;
</script>
{#if widget && node && nodeValue}
{#if widget && node && nodeValue && $nodeValue}
{#if widget.attrs.variant === "image"}
<div class="wrapper comfy-image-widget" style={widget.attrs.style || ""} bind:this={element}>
<Block variant="solid" padding={false}>

View File

@@ -156,7 +156,7 @@
);
if (response.error) {
notify(response.error, null, "error")
notify(response.error, { type: "error" })
}
$nodeValue = normalise_file(_value, root, root_url) as GradioFileData[];