diff --git a/src/UI/Comparison/ComparisonTool.svelte b/src/UI/Comparison/ComparisonTool.svelte index bc06f15d9..58f90f27c 100644 --- a/src/UI/Comparison/ComparisonTool.svelte +++ b/src/UI/Comparison/ComparisonTool.svelte @@ -29,7 +29,11 @@ export let feature: Feature export let readonly = false export let sourceUrl: Store - + /** + * A switch that signals that the information should be downloaded. + * The actual 'download' code is _not_ implemented here + */ + export let downloadInformation : UIEventSource export let collapsed: boolean const t = Translations.t.external @@ -49,8 +53,14 @@ {#if !$sourceUrl || !$enableLogin} + {:else if !$downloadInformation} + {:else if $externalData === undefined} - +
+ +
{:else if $externalData["error"] !== undefined}