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 return
} }
ui.Render(w, r, toast.Toast(toast.Props{ w.Header().Set("HX-Refresh", "true")
Title: "Space renamed", w.WriteHeader(http.StatusOK)
Description: "Space name has been updated.",
Variant: toast.VariantSuccess,
Icon: true,
Dismissible: true,
Duration: 5000,
}))
} }
func (h *SpaceHandler) RemoveMember(w http.ResponseWriter, r *http.Request) { func (h *SpaceHandler) RemoveMember(w http.ResponseWriter, r *http.Request) {