Fixed auto role add

This commit is contained in:
2023-09-29 19:19:23 +02:00
parent 7e6053768f
commit 3117f617d9
5 changed files with 5 additions and 5 deletions

View File

@@ -199,7 +199,7 @@ export class AutoRolesComponent extends ComponentWithTable implements OnInit, On
return;
}
if (!newAutoRole.id || !newAutoRole.channelId && !newAutoRole.messageId) {
if (!newAutoRole.id && !this.isEditingNew || !newAutoRole.channelId && !newAutoRole.messageId) {
return;
}

View File

@@ -2,6 +2,6 @@
"WebVersion": {
"Major": "1",
"Minor": "1",
"Micro": "7"
"Micro": "8"
}
}