diff --git a/src/lib/feedview/Loader.svelte b/src/lib/UrlLoader.svelte similarity index 86% rename from src/lib/feedview/Loader.svelte rename to src/lib/UrlLoader.svelte index 53368c4..c51dbfd 100644 --- a/src/lib/feedview/Loader.svelte +++ b/src/lib/UrlLoader.svelte @@ -9,11 +9,12 @@ --> - + {#if $appStore.currentFeed} - Software-Engineering: 2023 Intevation GmbH ---> - - - -
-
-
- - URL - - - {#if URL} - - - - {/if} -
-
-
-{#if $appStore.ui.singleErrorMsg} -
-
-
{$appStore.ui.singleErrorMsg}
-
-
-{/if} - - diff --git a/src/lib/singleview/SingleView.svelte b/src/lib/singleview/SingleView.svelte index c4bba60..8eda6cf 100644 --- a/src/lib/singleview/SingleView.svelte +++ b/src/lib/singleview/SingleView.svelte @@ -13,11 +13,12 @@ import Collapsible from "$lib/Collapsible.svelte"; import Droparea from "$lib/singleview/Droparea.svelte"; import General from "$lib/singleview/general/General.svelte"; - import LoadFromUrl from "./LoadFromURL.svelte"; import ProductTree from "./producttree/ProductTree.svelte"; import ProductVulnerabilities from "$lib/singleview/productvulnerabilities/ProductVulnerabilities.svelte"; import Upload from "./Upload.svelte"; import Vulnerabilities from "./vulnerabilities/Vulnerabilities.svelte"; + import UrlLoader from "$lib/UrlLoader.svelte"; + import { base } from "$app/paths"; $: isCSAF = !( !$appStore.doc?.isRevisionHistoryPresent && !$appStore.doc?.isDocPresent && @@ -30,7 +31,11 @@
- +