chore: disabled button in msg operations

This commit is contained in:
Tristan Yang
2023-06-06 21:10:05 +08:00
parent 53215406b3
commit 26a51bd369
+1 -1
View File
@@ -68,7 +68,7 @@ const Operations: FC<Props> = ({ context, id }) => {
<IconBookmark />
</button>
<button
className={optClass}
className={`${optClass} disabled:opacity-50 disabled:cursor-not-allowed`}
disabled={!canDel}
onClick={toggleDeleteModal.bind(null, false)}
>