diff --git a/pom.xml b/pom.xml
index e67519e..4378796 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
org.example
Widerhall
- 0.2.59
+ 0.2.60
diff --git a/static/templates/js.st b/static/templates/js.st
index 65ec8cf..f26d867 100644
--- a/static/templates/js.st
+++ b/static/templates/js.st
@@ -199,10 +199,10 @@ function showMembers(data){
$(' | ').text(member.state).appendTo(row);
let col = $(' | ');
console.log("data",data);
- if (member.state.includes("moderator")) {
- if (!member.state.includes("owner")) $('',{onclick:'dropMod("'+member.email+'","'+list_mail+'")'}).text("- moderator").appendTo(col);
+ if (member.state.includes("Moderator")) {
+ if (!member.state.includes("Besitzer")) $('',{onclick:'dropMod("'+member.email+'","'+list_mail+'")'}).text("- moderator").appendTo(col);
} else $('',{onclick:'addMod("'+member.email+'","'+list_mail+'")'}).text("+ moderator").appendTo(col);
- if (!member.state.includes("owner")) $('',{onclick:'dropMember("'+member.email+'","'+list_mail+'")'}).text("remove").appendTo(col);
+ if (!member.state.includes("Besitzer")) $('',{onclick:'dropMember("'+member.email+'","'+list_mail+'")'}).text("remove").appendTo(col);
col.appendTo(row);
row.appendTo('#memberlist');