Finished up with global user bans.

This commit is contained in:
rainbow napkin 2024-11-29 15:39:53 -05:00
parent 26df91262f
commit 8fc699924e
13 changed files with 180 additions and 37 deletions

View file

@ -25,10 +25,12 @@ class canopyUXUtils{
constructor(){
}
//Update this and popup class to use nodes
//and display multiple errors in one popup
displayResponseError(body){
const errors = body.errors;
errors.forEach((err)=>{
new canopyUXUtils.popup(`<h3>Server Error:</h3><p><br>Message: ${err.msg}`);
new canopyUXUtils.popup(`<h3>Server Error:</h3><p><br>${err.msg}</p>`);
});
}