|
@@ -40,6 +40,7 @@
|
|
|
export let message;
|
|
|
export let showUserProfile = true;
|
|
|
export let thread = false;
|
|
|
+ export let disabled = false;
|
|
|
|
|
|
export let onDelete: Function = () => {};
|
|
|
export let onEdit: Function = () => {};
|
|
@@ -68,7 +69,7 @@
|
|
|
? 'pt-1.5 pb-0.5'
|
|
|
: ''} w-full max-w-full mx-auto group hover:bg-gray-300/5 dark:hover:bg-gray-700/5 transition relative"
|
|
|
>
|
|
|
- {#if !edit}
|
|
|
+ {#if !edit && !disabled}
|
|
|
<div
|
|
|
class=" absolute {showButtons ? '' : 'invisible group-hover:visible'} right-1 -top-2 z-10"
|
|
|
>
|