feat: notification sent checkbox to prevent resending the notification

This commit is contained in:
Jannat Patel
2026-01-13 19:06:30 +05:30
parent 8ad5288226
commit a09599ec8a
14 changed files with 437 additions and 526 deletions

View File

@@ -628,7 +628,6 @@ export const validateFile = async (
console.error(msg)
return msg
}
console.log(file.type, fileType)
if (!file.type.startsWith(`${fileType}/`)) {
return error(__(`Only ${fileType} file is allowed.`))
}