diff --git a/src/pages/workspace/WorkspaceNewRoomPage.js b/src/pages/workspace/WorkspaceNewRoomPage.js index aaaa71219c2a..b616b519ff32 100644 --- a/src/pages/workspace/WorkspaceNewRoomPage.js +++ b/src/pages/workspace/WorkspaceNewRoomPage.js @@ -159,7 +159,7 @@ function WorkspaceNewRoomPage(props) { useEffect(() => { if (policyID) { - if (_.some(workspaceOptions, (opt) => opt.value === policyID)) { + if (!_.some(workspaceOptions, (opt) => opt.value === policyID)) { setPolicyID(''); } return;