From 1d2e0faf362d56203414564d90211243b29b7aa7 Mon Sep 17 00:00:00 2001 From: Michael Mayer Date: Tue, 21 May 2019 10:19:48 +0200 Subject: [PATCH] Frontend: Use disabled instead if v-if for menu #15 --- frontend/src/pages/photos.vue | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/frontend/src/pages/photos.vue b/frontend/src/pages/photos.vue index e13c44b24..a132266d8 100644 --- a/frontend/src/pages/photos.vue +++ b/frontend/src/pages/photos.vue @@ -92,23 +92,14 @@ menu {{ selected.length }} - - clear - + favorite @@ -146,10 +137,20 @@ small color="delete" @click.stop="batchDelete()" - v-if="selected.length > 0" + :disabled="!selected.length" > delete + + clear +