Fix group creation when clicking create button
This commit is contained in:
@@ -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" />
|
||||||
) : (
|
) : (
|
||||||
|
Reference in New Issue
Block a user