Merge commit '92c6a23a13cc75a45e750f25bc5d76ed5cb49445' into group_property_feature

This commit is contained in:
vpopescu
2021-12-16 15:48:50 +01:00
30 changed files with 1905 additions and 692 deletions

View File

@@ -38,13 +38,14 @@ const withAPI = withProps(() => ({
jhapiRequest("/users/" + username, "GET")
.then((data) => data.status)
.then((data) => (data > 200 ? false : true)),
failRegexEvent: () =>
alert(
"Cannot change username - either contains special characters or is too short."
),
noChangeEvent: () => {
returns;
// Temporarily Unused
failRegexEvent: () => {
return null;
},
noChangeEvent: () => {
return null;
},
//
refreshGroupsData: () =>
jhapiRequest("/groups", "GET").then((data) => data.json()),
refreshUserData: () =>