Web: Client: disabled auto convert file for xml

This commit is contained in:
Elyor Djalilov 2024-03-29 14:58:23 +05:00
parent a789253eef
commit 01e7eefb52

View File

@ -1019,6 +1019,10 @@ class UploadDataStore {
if (!currentFile) return resolve(); if (!currentFile) return resolve();
const { needConvert } = currentFile; const { needConvert } = currentFile;
const isXML = currentFile.fileInfo?.fileExst?.includes(".xml");
if (isXML) return resolve();
if (needConvert) { if (needConvert) {
runInAction(() => (currentFile.action = "convert")); runInAction(() => (currentFile.action = "convert"));