https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=41129

--- Comment #36 from Paul Derscheid <[email protected]> ---
Created attachment 196455
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=196455&action=edit
Bug 41129: (follow-up) Use inject() for store access in island

- Switch BookingModal.vue from useBookingStore() direct import
  to inject("bookings") for store access
- Aligns with the pattern used by other island components
  (VendorMenu, AcquisitionsMenu) which receive stores via
  app.provide() in the island hydration
- Child components keep useBookingStore() as Pinia is installed
  on the app via app.use(pinia) in islands.ts

Sponsored-by: Büchereizentrale Schleswig-Holstein <https://www.bz-sh.de/>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to