Fix group creation when clicking create button
This commit is contained in:
parent
a0b05f41e3
commit
ae5fc1df86
1 changed files with 6 additions and 1 deletions
|
@ -227,7 +227,12 @@ export class LeftPaneSetGroupMetadataHelper extends LeftPaneHelper<LeftPaneSetGr
|
||||||
i18n: LocalizerType;
|
i18n: LocalizerType;
|
||||||
}>): ReactChild {
|
}>): ReactChild {
|
||||||
return (
|
return (
|
||||||
<Button disabled={!this.canCreateGroup()} onClick={createGroup}>
|
<Button
|
||||||
|
disabled={!this.canCreateGroup()}
|
||||||
|
onClick={() => {
|
||||||
|
createGroup();
|
||||||
|
}}
|
||||||
|
>
|
||||||
{this.isCreating ? (
|
{this.isCreating ? (
|
||||||
<Spinner size="20px" svgSize="small" direction="on-avatar" />
|
<Spinner size="20px" svgSize="small" direction="on-avatar" />
|
||||||
) : (
|
) : (
|
||||||
|
|
Loading…
Add table
Reference in a new issue