feat: add loading state for buttons on settings page (#10643)
* fix: add spinner to general settings section * feat: add and manage spinner in the emptyScreen component * feat: add spinner to two-factor auth modal buttons * feat: add spinner to password and impersonation setting buttons * feat: add spinner to webhookform(edit and create) * chore: clean up code --------- Co-authored-by: lemmyMwaura <[email protected]>
This commit is contained in:
1 parent
975420181d
commit
59ea4d624b
5 files changed
+24
-5
No files matched your search
@@ -94,7 +94,12 @@ const DisableTwoFactorAuthModal = ({
|
||||
<Button color="secondary" onClick={onCancel}>
|
||||
{t("cancel")}
|
||||
</Button>
|
||||
<Button type="submit" className="me-2 ms-2" data-testid="disable-2fa" disabled={isDisabling}>
|
||||
<Button
|
||||
type="submit"
|
||||
className="me-2 ms-2"
|
||||
data-testid="disable-2fa"
|
||||
loading={isDisabling}
|
||||
disabled={isDisabling}>
|
||||
{t("disable")}
|
||||
</Button>
|
||||
</DialogFooter>
|
||||
|
||||
Reference in new issue
Block a user