https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42189 --- Comment #48 from Paul Derscheid <paul.derscheid@lmscloud.de> --- Created attachment 198934 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=198934&action=edit Bug 42189: (follow-up) Cache resolved component at registration time - Move defineAsyncComponent wrapping, name fallback, and markRaw from getRegisteredWidgets into registerWidget so the component is resolved once and the same object reference is returned on every call - Simplify getRegisteredWidgets to a plain filter over the registry To test: - Register a plugin widget with an async factory function - Verify the widget renders correctly on the dashboard - Verify that calling getRegisteredWidgets multiple times returns the same component reference (no duplicate wrappers) Signed-off-by: Clemens Tubach <clemens.tubach@kit.edu> Signed-off-by: Thomas Klausner <domm@plix.at> -- You are receiving this mail because: You are watching all bug changes.