mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-05-09 07:46:13 -04:00
Only show .zip warning for importers that don't explicitly support .zip (#1947)
This commit is contained in:
@@ -1030,7 +1030,8 @@
|
||||
return;
|
||||
}
|
||||
|
||||
if (e.File.Name.EndsWith(".zip"))
|
||||
// Only show zip warning if this importer doesn't support .zip files
|
||||
if (e.File.Name.EndsWith(".zip") && !AcceptedFileExtensions.Any(ext => ext.Equals(".zip", StringComparison.OrdinalIgnoreCase)))
|
||||
{
|
||||
ImportError = Localizer["ImportErrorZipFile"];
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user