From a5813cb77af590aaf2c49aea66f9d33d47b066f6 Mon Sep 17 00:00:00 2001
From: Jan-Hendrik Willms <tleilax+github@gmail.com>
Date: Wed, 6 Jul 2022 15:12:05 +0200
Subject: [PATCH] apply suggestion, re #1254

---
 app/views/resources/_common/_resource_tr.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app/views/resources/_common/_resource_tr.php b/app/views/resources/_common/_resource_tr.php
index 92e613b2739..93712dade1d 100644
--- a/app/views/resources/_common/_resource_tr.php
+++ b/app/views/resources/_common/_resource_tr.php
@@ -99,7 +99,7 @@
                ? htmlReady($clipboard_range_type)
                : 'Resource' ?>"
            data-name="<?= htmlReady($resource->name) ?>"
-           <?= $resource instanceof Room ? 'class="clipboard-draggable-item"' : '' ?>>
+           <?= $clipboard_range_type ? 'class="clipboard-draggable-item"' : '' ?>>
             <? if ($show_picture): ?>
                 <? $picture_url = $resource->getPictureUrl(); ?>
                 <? if ($picture_url): ?>
-- 
GitLab