fix: button is not disabled when in starred list (#4204)

* fix: button is not disabled when in starred list

* fix: button is not disabled when in starred list

* rollback action-button.tsx

* refactor: rename isButtonHided to showButtons for clarity

* Update apps/desktop/layer/renderer/src/modules/entry-column/layouts/EntryListHeader.tsx

Co-authored-by: Innei <tukon479@gmail.com>

* rollback changes

---------

Co-authored-by: Innei <tukon479@gmail.com>
This commit is contained in:
Daniel Yan
2025-07-21 13:28:31 +08:00
committed by GitHub
co-authored by Innei
parent 544c064179
commit 47fe0aa76f
@@ -83,7 +83,7 @@ export const EntryListHeader: FC<{
<div
className={cn(
"text-text-secondary relative z-[1] flex items-center gap-1 self-baseline",
(isInCollectionList || !headerTitle) && "pointer-events-none opacity-0",
(isInCollectionList || !headerTitle) && "opacity-0 [&_*]:!pointer-events-none",
"translate-x-[6px]",
)}