Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: fix loading indicator in setting buttons

Abdullah Atta6d9aa560849c
diff --git a/apps/web/src/dialogs/settings/index.tsx b/apps/web/src/dialogs/settings/index.tsx
index c3d62e6ff..175902826 100644
--- a/apps/web/src/dialogs/settings/index.tsx
+++ b/apps/web/src/dialogs/settings/index.tsx
@@ -457,7 +457,7 @@ function SettingItem(props: { item: Setting }) {
variant={component.variant}
onClick={() => workWithLoading(index, component.action)}
>
- {workIndex ? (
+ {workIndex === index ? (
<Loading size={18} sx={{ mr: 2 }} />
) : (
component.title