Fix: Labels at desktop view with enabled drag handles were sortable

This commit is contained in:
Martin Filser 2021-10-27 17:26:16 +02:00
parent 2055d916e9
commit 94f8fb2393

View file

@ -67,7 +67,7 @@ BlazeComponent.extendComponent({
// Disable drag-dropping if the current user is not a board member or is comment only
this.autorun(() => {
if (Utils.isMiniScreen()) {
if (Utils.isMiniScreenOrShowDesktopDragHandles()) {
$labels.sortable({
handle: '.label-handle',
});