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

--- Comment #27 from David Cook <[email protected]> ---
(In reply to Matt Blenkinsop from comment #26)
> Its currently being used by the Vendors Vue module - 

Ah I see it now. Both the dependency chain in Bugzilla and the import of
./Islands/AcquisitionsMenu.vue in
koha-tmpl/intranet-tmpl/prog/js/vue/components/LeftMenu.vue. 

> when the acquisitions
> menu is loaded as part of the vendors vue app we have access to the
> permissions store as it is populated by the module's config endpoint and the
> menu is just used as a generic vue component rather than a custom element.

I see what you mean when looking at /cgi-bin/koha/acqui/acqui-home.pl vs
/cgi-bin/koha/acquisition/vendors?supplier=

> When it is used as a custom element, the permissionsStore is technically
> available but isn't populated as there is no specific vue app with a config
> endpoint to populate from. A future enhancement could certainly be to update
> the permissions store to self-populate and remove the need for the TT
> variables

I reckon that would be a much more DRY option for sure. 

Anyway, cool beans. Thanks for explaining all that.

-- 
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