feat(tray-menu): for screenshot
This commit is contained in:
@@ -17,7 +17,7 @@ export const ImageStatus: Component<ImageStatusProps> = (props) => {
|
||||
const { onRefetchImages } = useSearchImageContext();
|
||||
|
||||
const onEvent = (e: MessageEvent<EventData>) => {
|
||||
console.log(e.data);
|
||||
console.log("Processing Events: ", e.data);
|
||||
|
||||
const processingImage = props.processingImage();
|
||||
if (processingImage == null) {
|
||||
@@ -55,15 +55,5 @@ export const ImageStatus: Component<ImageStatusProps> = (props) => {
|
||||
};
|
||||
});
|
||||
|
||||
return (
|
||||
<Show when={props.processingImage()}>
|
||||
{(image) => (
|
||||
<div>
|
||||
<p>
|
||||
{image().ImageID} - {image().Status}
|
||||
</p>
|
||||
</div>
|
||||
)}
|
||||
</Show>
|
||||
);
|
||||
return null;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user