fix space creation button busy state

This commit is contained in:
Michael Telatynski 2021-03-26 11:34:41 +00:00
parent a8c1b7abab
commit 3cee8b2baa

View file

@ -148,7 +148,7 @@ const SpaceCreateMenu = ({ onFinished }) => {
<SpaceBasicSettings setAvatar={setAvatar} name={name} setName={setName} topic={topic} setTopic={setTopic} />
<AccessibleButton kind="primary" onClick={onSpaceCreateClick} disabled={!name && !busy}>
<AccessibleButton kind="primary" onClick={onSpaceCreateClick} disabled={!name || busy}>
{ busy ? _t("Creating...") : _t("Create") }
</AccessibleButton>
</React.Fragment>;