From 759548b1e25d8f66493170939c7bb7b0963ee89b Mon Sep 17 00:00:00 2001 From: Jannik Stehle Date: Wed, 8 Feb 2023 11:40:24 +0100 Subject: [PATCH] Rename setSelection to toggleSelection --- .../src/components/FilesList/ResourceTiles.vue | 6 +++--- .../tests/unit/components/FilesList/ResourceTiles.spec.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/web-app-files/src/components/FilesList/ResourceTiles.vue b/packages/web-app-files/src/components/FilesList/ResourceTiles.vue index 82e071d4740..3d360f94987 100644 --- a/packages/web-app-files/src/components/FilesList/ResourceTiles.vue +++ b/packages/web-app-files/src/components/FilesList/ResourceTiles.vue @@ -18,7 +18,7 @@ size="large" class="oc-flex-inline oc-p-s" :model-value="isResourceSelected(resource)" - @click.stop.prevent="setSelection(resource)" + @click.stop.prevent="toggleSelection(resource)" />