Fix create subspace dialog not working for public space creation (#11367)
This commit is contained in:
parent
aab0c9a9e1
commit
9afcf599ba
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ const CreateSubspaceDialog: React.FC<IProps> = ({ space, onAddExistingSpaceClick
|
|||
if (
|
||||
spaceAliasField.current &&
|
||||
joinRule === JoinRule.Public &&
|
||||
(await spaceAliasField.current.validate({ allowEmpty: true }))
|
||||
!(await spaceAliasField.current.validate({ allowEmpty: true }))
|
||||
) {
|
||||
spaceAliasField.current.focus();
|
||||
spaceAliasField.current.validate({ allowEmpty: true, focused: true });
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue