This means that adding the buttons in the template for this module creates duplicated buttons (see #217). Removing the extra handling here and just letting the system take care of it just plain works: the button render once and are clickable, etc.
(I don't know what this change means for the v11 version of this module, though.)
With PF1 9.0 (and still in the current 9.3), the compendium "Browse"-buttons aren't inside the sidebar template anymore. Instead, they are added by a render hook later on, apparently for v11 compatibility. See https://gitlab.com/foundryvtt_pathfinder1e/foundryvtt-pathfinder1/-/commit/c7f500a57d90f35b95b7714a3d5e22614c90e352
This means that adding the buttons in the template for this module creates duplicated buttons (see #217). Removing the extra handling here and just letting the system take care of it just plain works: the button render once and are clickable, etc.
(I don't know what this change means for the v11 version of this module, though.)