From 2646b9600897fa49777e9fc35278c0a0ac8aaacb Mon Sep 17 00:00:00 2001 From: Daniel Schmidt Date: Mon, 18 Nov 2024 19:10:18 +0100 Subject: [PATCH] fix: disable delete button for source based entries --- frontend/src/js/ui/views/template/single.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/src/js/ui/views/template/single.ts b/frontend/src/js/ui/views/template/single.ts index 151ea03..dec283a 100644 --- a/frontend/src/js/ui/views/template/single.ts +++ b/frontend/src/js/ui/views/template/single.ts @@ -238,6 +238,7 @@ export default (): m.Component => { Tooltip, { content: 'Delete' }, m(IconButton, { + disabled: entry.source?.startsWith('ds:'), intend: 'error', size: 'sm', icon: 'trash',