diff --git a/webui/src/components/Inspect.svelte b/webui/src/components/Inspect.svelte index 3863bae..067a7e4 100644 --- a/webui/src/components/Inspect.svelte +++ b/webui/src/components/Inspect.svelte @@ -18,6 +18,7 @@ import { GROUP_TYPE_ADDR } from "upend/constants"; import { deleteEntry, putEntityAttribute, putEntry } from "../lib/api"; import Icon from "./utils/Icon.svelte"; + import BlobViewer from "./display/BlobViewer.svelte"; const dispatch = createEventDispatcher(); const params = useParams(); @@ -227,7 +228,7 @@ {/if} - + {#if !$error} {#if Boolean($allTypeEntries)} diff --git a/webui/src/components/display/BlobPreview.svelte b/webui/src/components/display/BlobPreview.svelte index daa7f17..ef67fda 100644 --- a/webui/src/components/display/BlobPreview.svelte +++ b/webui/src/components/display/BlobPreview.svelte @@ -1,15 +1,11 @@ {#if handled} -
- {#if text} -
- -
- {/if} - {#if audio} - - {/if} - {#if video} - {#if imageLoaded != address} - - - {address} (imageLoaded = address)} - on:error={() => (imageLoaded = address)} - /> - {:else} - -