set an id for the UI extensions hook to allow rebinding

This commit is contained in:
Gani Georgiev committed 2026-10-08 15:42:49 +03:00
1 parent 6ffc1b2078
commit be327b212b
1 file changed
+1
+1
View File
@@ -23,6 +23,7 @@ func bindUIExtensions(app core.App) {
app.OnServe().Bind(&hook.Handler[*core.ServeEvent]{
Priority: 9999, // execute as latest as possible
Id: "__pbUIExtensions__",
Func: func(se *core.ServeEvent) error {
uiGroup := se.Router.Group("/_").
BindFunc(func(e *core.RequestEvent) error {