Koha-clms/koha-tmpl
Pedro Amorim 868751b221
Bug 43091: (RM follow-up) Give the OPAC self-renewal island a Pinia store
hydrate() only installs Pinia for an island when its config.stores is
non-empty. patron-self-renewal kept config: {} after islands-opac.ts
was split out, so it never got one.

http-client.js's post() calls submitting(), which needs Pinia's
useMainStore(). With none active, it throws before fetch() runs -
get() skips submitting() by default, so only the actual renewal
submission failed.

Test plan:
prove t/cypress/integration/Islands/SelfRenewal.ts

Signed-off-by: Pedro Amorim <pedro.amorim@openfifth.co.uk>
2026-08-19 11:03:33 +00:00
..
intranet-tmpl Bug 43091: (RM follow-up) Give the OPAC self-renewal island a Pinia store 2026-08-19 11:03:33 +00:00
opac-tmpl Bug 40799: (QA Follow-up) tidy template file 2026-08-14 12:09:34 +00:00