riot-web/test/components/views/settings
Michael Telatynski 42ac873c55
Reset power selector on API failure to prevent state mismatch (#12319)
* Reset power selector on API failure to prevent state mismatch

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Allow onChange to be sync or async

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Add unmounted check

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Improve coverage

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
2024-03-08 11:58:36 +00:00
..
__snapshots__ Refine styles of controls to match Compound (#12299) 2024-03-05 04:25:47 +00:00
account
devices
discovery
notifications Add notification dots to thread summary icons (#12146) 2024-01-25 16:53:41 +00:00
shared
tabs Reset power selector on API failure to prevent state mismatch (#12319) 2024-03-08 11:58:36 +00:00
AddPrivilegedUsers-test.tsx
AvatarSetting-test.tsx
ChangePassword-test.tsx
CrossSigningPanel-test.tsx
CryptographyPanel-test.tsx
EventIndexPanel-test.tsx
FontScalingPanel-test.tsx Use browser's font size instead of hardcoded `16px` as root font size (#12246) 2024-02-21 11:23:07 +00:00
JoinRuleSettings-test.tsx
KeyboardShortcut-test.tsx
Notifications-test.tsx Fix `Mark all as read` in settings (#12205) 2024-02-01 17:58:57 +00:00
SecureBackupPanel-test.tsx
SettingsFieldset-test.tsx
ThemeChoicePanel-test.tsx