aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2020-08-05 08:28:59 +0200
committerJulius Härtl <jus@bitgrid.net>2020-08-05 17:03:39 +0200
commit97feb89a4bff810c5d0124e787191c8a3f6013e0 (patch)
tree754c6e78088487c5ed6caf88c31be8ce2623372e
parentd9dcd59ae1ea258f57fe4a92eaea6f4ba63f54c8 (diff)
downloadnextcloud-server-97feb89a4bff810c5d0124e787191c8a3f6013e0.tar.gz
nextcloud-server-97feb89a4bff810c5d0124e787191c8a3f6013e0.zip
Make header the drag handler
Signed-off-by: Julius Härtl <jus@bitgrid.net>
-rw-r--r--apps/dashboard/src/App.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/dashboard/src/App.vue b/apps/dashboard/src/App.vue
index 585204fe2b7..4729d6ef1d8 100644
--- a/apps/dashboard/src/App.vue
+++ b/apps/dashboard/src/App.vue
@@ -8,7 +8,7 @@
:ref="'status-' + status" />
</div>
- <Draggable v-model="layout" class="panels" @end="saveLayout">
+ <Draggable v-model="layout" class="panels" @end="saveLayout" handle=".panel--header">
<div v-for="panelId in layout" :key="panels[panelId].id" class="panel">
<div class="panel--header">
<h3 :class="panels[panelId].iconClass">