             switch response {
             case .success:
                 self.itemDataList = self.itemDataList.filter { $0.childInfo.childRoomId != roomId }
-                self.update(viewState: .loaded(self.filteredItemDataList, self.nextBatch != nil && (self.searchKeyword ?? "").isEmpty))
+                self.update(viewState: .loaded(self.filteredItemDataList, self.hasMore))
             case .failure(let error):
                 self.update(viewState: .error(error))
             }

        return UIMenu(children: [
            inviteAction(for: itemData, isJoined: isJoined),
            suggestAction(for: itemData, canSendSpaceStateEvents: canSendSpaceStateEvents),
            isJoined ? settingsAction(for: itemData, isJoined: isJoined) :joinAction(for: itemData, isJoined: isJoined),
            removeAction(for: itemData, canSendSpaceStateEvents: canSendSpaceStateEvents)
        ])
    }

            guard let self = self else { return }
            switch response {
            case .success:
                self.update(viewState: .loaded(self.filteredItemDataList, self.hasMore))
            case .failure(let error):
                self.update(viewState: .error(error))
            }
