fix: sidebar and breadcrumbs do not update after space name change
This commit is contained in:
parent
1b5c57704e
commit
ff541ab2a9
1 changed files with 2 additions and 8 deletions
|
|
@ -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) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue