feat: email template update and deletion

This commit is contained in:
Jannat Patel
2025-05-23 13:28:18 +05:30
parent 5e2de35693
commit 5635d2a325
5 changed files with 113 additions and 49 deletions

View File

@@ -67,7 +67,7 @@ const paymentGateway = createResource({
})
const arrangeFields = (fields) => {
fields = data.fields.sort((a, b) => {
fields = fields.sort((a, b) => {
if (a.type === 'Upload' && b.type !== 'Upload') {
return 1
} else if (a.type !== 'Upload' && b.type === 'Upload') {