mirror of
https://github.com/element-hq/element-web
synced 2024-11-23 17:56:01 +03:00
fix space creation button busy state
This commit is contained in:
parent
a8c1b7abab
commit
3cee8b2baa
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ const SpaceCreateMenu = ({ onFinished }) => {
|
||||||
|
|
||||||
<SpaceBasicSettings setAvatar={setAvatar} name={name} setName={setName} topic={topic} setTopic={setTopic} />
|
<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") }
|
{ busy ? _t("Creating...") : _t("Create") }
|
||||||
</AccessibleButton>
|
</AccessibleButton>
|
||||||
</React.Fragment>;
|
</React.Fragment>;
|
||||||
|
|
Loading…
Reference in a new issue