From 123e6212fbe2b765a98f398a3639bfaea057be98 Mon Sep 17 00:00:00 2001 From: Montassar Ghanmy Date: Wed, 24 Jul 2024 14:28:55 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Disable=20upload=20to=20trash/sh?= =?UTF-8?q?ared=20with=20me=20(#627)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tdrive/frontend/src/app/views/client/body/drive/browser.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/tdrive/frontend/src/app/views/client/body/drive/browser.tsx b/tdrive/frontend/src/app/views/client/body/drive/browser.tsx index 5863ba9f..bb973514 100644 --- a/tdrive/frontend/src/app/views/client/body/drive/browser.tsx +++ b/tdrive/frontend/src/app/views/client/body/drive/browser.tsx @@ -292,6 +292,7 @@ export default memo( }} onDragOver={handleDragOver} onDrop={handleDrop} + disabled={inTrash || access === 'read'} > {role == 'admin' && }