[Koha-bugs] [Bug 34215] Vue Toolbar component should be more flexible
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Jul 7 13:53:24 CEST 2023
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34215
--- Comment #5 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Pedro Amorim from comment #4)
> In ToolbarButton.vue, does 'to' need to be '[String, Object]' or can/should
> it just be 'Object'?
Can be a string I think, if you want to pass the URL directly (not name).
That's why I decided to pass
{ name: 'RouteName' }
instead of 'RouteName'.
It's more flexible like that IMO
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list