Skip to content

Fix bookdrop metadata picker bugs#3032

Merged
acx10 merged 1 commit intodevelopfrom
fix-bookdrop-metadata-picker-bugs
Feb 26, 2026
Merged

Fix bookdrop metadata picker bugs#3032
acx10 merged 1 commit intodevelopfrom
fix-bookdrop-metadata-picker-bugs

Conversation

@acx10
Copy link
Collaborator

@acx10 acx10 commented Feb 26, 2026

The copy missing / overwrite all / reset buttons in the bookdrop metadata picker header weren't showing up on initial render. Turns out PrimeNG's p-button component has a Bind host directive that applies CSS classes via signals and effects, and when the picker is created inside an if block, the effect doesn't fire on the first render cycle. Replaced those three buttons with plain HTML buttons using PrimeNG CSS classes directly.

Also fixed disabled provider-specific fields (like Ranobedb, Lubimyczytac, etc.) still appearing in the bookdrop picker even when toggled off in the "Enabled Fields in Metadata Editor & Picker" settings.

@acx10 acx10 added the bug Something isn't working label Feb 26, 2026
@acx10 acx10 merged commit 01cdbf7 into develop Feb 26, 2026
4 checks passed
@acx10 acx10 deleted the fix-bookdrop-metadata-picker-bugs branch February 26, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant