diff --git a/frontend/src/component/p-photo-details.vue b/frontend/src/component/p-photo-details.vue
index 10f387d02..d6e757edd 100644
--- a/frontend/src/component/p-photo-details.vue
+++ b/frontend/src/component/p-photo-details.vue
@@ -41,7 +41,7 @@
+ @click.stop.prevent="$clipboard.toggle(photo)">
check_circle
radio_button_off
diff --git a/frontend/src/component/p-photo-list.vue b/frontend/src/component/p-photo-list.vue
index d44552639..a860400cc 100644
--- a/frontend/src/component/p-photo-list.vue
+++ b/frontend/src/component/p-photo-list.vue
@@ -13,7 +13,7 @@
+ @click.stop.prevent="$clipboard.toggle(photo)">
check_circle
radio_button_off
diff --git a/frontend/src/component/p-photo-mosaic.vue b/frontend/src/component/p-photo-mosaic.vue
index 9711dfd0f..ccdd8d62e 100644
--- a/frontend/src/component/p-photo-mosaic.vue
+++ b/frontend/src/component/p-photo-mosaic.vue
@@ -39,7 +39,7 @@
+ @click.stop.prevent="$clipboard.toggle(photo)">
check_circle
radio_button_off
diff --git a/frontend/src/component/p-photo-tiles.vue b/frontend/src/component/p-photo-tiles.vue
index 78bea3b08..17a36769b 100644
--- a/frontend/src/component/p-photo-tiles.vue
+++ b/frontend/src/component/p-photo-tiles.vue
@@ -39,7 +39,7 @@
+ @click.stop.prevent="$clipboard.toggle(photo)">
check_circle
radio_button_off
diff --git a/frontend/src/pages/photos.vue b/frontend/src/pages/photos.vue
index 04159c37a..187913c19 100644
--- a/frontend/src/pages/photos.vue
+++ b/frontend/src/pages/photos.vue
@@ -146,7 +146,7 @@
dark
small
color="grey"
- @click.stop="clearSelection()"
+ @click.stop="$clipboard.clear()"
:disabled="!selected.length"
>
clear
@@ -247,10 +247,6 @@
this.$alert.warning("Not implemented yet");
this.menuVisible = false;
},
- clearSelection() {
- this.selected = [];
- this.menuVisible = false;
- },
selectPhoto(photo) {
this.$clipboard.toggle(photo);
},
|