Skip to content

Commit

Permalink
fix: disable delete button for source based entries
Browse files Browse the repository at this point in the history
  • Loading branch information
BigJk committed Nov 18, 2024
1 parent b13b46a commit 2646b96
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/js/ui/views/template/single.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ export default (): m.Component<SingleTemplateProps> => {
Tooltip,
{ content: 'Delete' },
m(IconButton, {
disabled: entry.source?.startsWith('ds:'),
intend: 'error',
size: 'sm',
icon: 'trash',
Expand Down

0 comments on commit 2646b96

Please sign in to comment.