fix: sidebar and breadcrumbs do not update after space name change

This commit is contained in:
juancwu 2026-02-07 19:20:14 -05:00
commit ff541ab2a9
No known key found for this signature in database

View file

@ -943,14 +943,8 @@ func (h *SpaceHandler) UpdateSpaceName(w http.ResponseWriter, r *http.Request) {
return
}
ui.Render(w, r, toast.Toast(toast.Props{
Title: "Space renamed",
Description: "Space name has been updated.",
Variant: toast.VariantSuccess,
Icon: true,
Dismissible: true,
Duration: 5000,
}))
w.Header().Set("HX-Refresh", "true")
w.WriteHeader(http.StatusOK)
}
func (h *SpaceHandler) RemoveMember(w http.ResponseWriter, r *http.Request) {