From 900d3a76c44cd00df5a5e7d46da2112ce5a704cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=BCttner?= <4376726+hanneskuettner@users.noreply.github.com> Date: Tue, 21 May 2024 12:49:58 +0200 Subject: [PATCH] Fix file selection drawer failing when some files fail loading (#22530) Co-authored-by: Pascal Jufer --- .changeset/brave-students-tap.md | 5 +++++ .changeset/nice-pans-applaud.md | 5 +++++ app/src/layouts/cards/components/card.vue | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .changeset/brave-students-tap.md create mode 100644 .changeset/nice-pans-applaud.md diff --git a/.changeset/brave-students-tap.md b/.changeset/brave-students-tap.md new file mode 100644 index 0000000000..144e33de1d --- /dev/null +++ b/.changeset/brave-students-tap.md @@ -0,0 +1,5 @@ +--- +'@directus/app': patch +--- + +Fixed the cards layout if used with files that fail loading diff --git a/.changeset/nice-pans-applaud.md b/.changeset/nice-pans-applaud.md new file mode 100644 index 0000000000..c3cd005f27 --- /dev/null +++ b/.changeset/nice-pans-applaud.md @@ -0,0 +1,5 @@ +--- +"@directus/app": patch +--- + +Fixed an issue where the file selection drawer could not be opened when some files fail loading diff --git a/app/src/layouts/cards/components/card.vue b/app/src/layouts/cards/components/card.vue index ff8641c7c8..e47bbeb833 100644 --- a/app/src/layouts/cards/components/card.vue +++ b/app/src/layouts/cards/components/card.vue @@ -106,7 +106,7 @@ function handleClick() {