Client: fix creation room with new tags

This commit is contained in:
Alexey Safronov 2024-07-15 20:59:34 +04:00
parent 97a4ecc0b5
commit 43e722ea8f

View File

@ -165,6 +165,8 @@ class CreateEditRoomStore {
actions.push(createTag(createTagsData[i]));
}
if (!!actions.length) await Promise.all(actions);
// add new tags to room
if (!!addTagsData.length)
room = await addTagsToRoom(room.id, addTagsData);