Enhanced notification & configure default queue action
This commit is contained in:
@@ -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%;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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}>
|
||||
|
||||
@@ -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[];
|
||||
|
||||
Reference in New Issue
Block a user