Fixed auto role add

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

View File

@ -124,7 +124,7 @@
"success": "auto-role {} wurde entfernt :D" "success": "auto-role {} wurde entfernt :D"
}, },
"react": { "react": {
"success": "Alle Reaktionen wurden hinzugefügt", "success": "Alle Reaktionen wurden hinzugefügt"
}, },
"rule": { "rule": {
"add": { "add": {

View File

@ -1,6 +1,6 @@
{ {
"name": "kdb-web", "name": "kdb-web",
"version": "1.1.7", "version": "1.1.8",
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"update-version": "ts-node update-version.ts", "update-version": "ts-node update-version.ts",

View File

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

View File

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