Client: Fixed deletion of a single tag in the edit panel.
This commit is contained in:
parent
0266d5cb74
commit
619e5c591e
@ -179,8 +179,11 @@ const EditRoomEvent = ({
|
||||
actions.push(addTagsToRoom(room.id, newTags));
|
||||
room.tags = tags;
|
||||
}
|
||||
if (removedTags.length)
|
||||
|
||||
if (removedTags.length) {
|
||||
actions.push(removeTagsFromRoom(room.id, removedTags));
|
||||
room.tags = tags;
|
||||
}
|
||||
|
||||
await Promise.all(actions);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user