From 7dcd2dc99b9a1f38ba2c356696ef9dcbb01b16ae Mon Sep 17 00:00:00 2001
From: Max Makaluk <70341920+FussuChalice@users.noreply.github.com>
Date: Mon, 16 Dec 2024 14:32:22 +0200
Subject: [PATCH] fix(pages): move export button to left
---
.../useFieldServiceGroups.tsx | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git a/src/pages/congregation/field_service_groups/useFieldServiceGroups.tsx b/src/pages/congregation/field_service_groups/useFieldServiceGroups.tsx
index 5771c0c938..644b7bbb4e 100644
--- a/src/pages/congregation/field_service_groups/useFieldServiceGroups.tsx
+++ b/src/pages/congregation/field_service_groups/useFieldServiceGroups.tsx
@@ -51,23 +51,23 @@ const useFieldServiceGroups = () => {
return (
<>
- {groups.length > 1 && (
+ {groups.length !== 0 && (
}
+ onClick={handleExport}
+ startIcon={}
>
- {t('tr_reorderGroups')}
+ {t('tr_export')}
)}
- {groups.length !== 0 && (
+ {groups.length > 1 && (
}
+ onClick={handleOpenReorder}
+ startIcon={}
>
- {t('tr_export')}
+ {t('tr_reorderGroups')}
)}