From cd3908ea9b5682b80f782013f0bbc3f9733bb648 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Thu, 12 Aug 2021 11:49:48 +0100 Subject: [PATCH] Make dropzone file name a link to the file --- packages/bbui/src/Form/Core/Dropzone.svelte | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/bbui/src/Form/Core/Dropzone.svelte b/packages/bbui/src/Form/Core/Dropzone.svelte index 3512ec989a..a543dea1d4 100644 --- a/packages/bbui/src/Form/Core/Dropzone.svelte +++ b/packages/bbui/src/Form/Core/Dropzone.svelte @@ -5,6 +5,7 @@ import { createEventDispatcher } from "svelte" import { generateID } from "../../utils/helpers" import Icon from "../../Icon/Icon.svelte" + import Link from "../../Link/Link.svelte" const BYTES_IN_KB = 1000 const BYTES_IN_MB = 1000000 @@ -117,7 +118,13 @@ {#if gallery}