Annotations: Fix issue with spinner always showing (#46686)

This commit is contained in:
Joao Silva 2022-03-17 13:00:52 +00:00 committed by GitHub
parent 586272e5f0
commit a9002e80b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ export const AnnotationPicker = ({ annotation, events, onEnabledChanged }: Annot
<InlineSwitch value={annotation.enable} onChange={() => onEnabledChanged(annotation)} disabled={loading} />
</InlineField>
<div className={styles.indicator}>
<LoadingIndicator loading={true} onCancel={onCancel} />
<LoadingIndicator loading={loading} onCancel={onCancel} />
</div>
</InlineFieldRow>
</div>