This commit is contained in:
the-djmaze 2023-12-01 01:28:05 +01:00
parent f8d990a25f
commit b0fea1e7c1

View file

@ -113,6 +113,8 @@ const
}
elemList.push(elem);
}
// https://github.com/the-djmaze/snappymail/issues/1177
// elemList.sort((a, b) => a.isFile != b.isFile ? (a.isFile ? 1 : -1) : a.name.localeCompare(b.name));
return Promise.resolve(elemList);
});
},
@ -286,7 +288,7 @@ class NextcloudFilesPopupView extends rl.pluginPopupView {
}
});
}
// Happens after showModal()
beforeShow(files, fResolve) {
this.select = '';
@ -497,4 +499,4 @@ function getElementsInNamespaces(xmlDocument, tagName) {
}
}
return results;
}
}