mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-06 16:07:03 +03:00
Hint for #1177
This commit is contained in:
parent
f8d990a25f
commit
b0fea1e7c1
1 changed files with 4 additions and 2 deletions
|
|
@ -113,6 +113,8 @@ const
|
||||||
}
|
}
|
||||||
elemList.push(elem);
|
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);
|
return Promise.resolve(elemList);
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
@ -286,7 +288,7 @@ class NextcloudFilesPopupView extends rl.pluginPopupView {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
// Happens after showModal()
|
// Happens after showModal()
|
||||||
beforeShow(files, fResolve) {
|
beforeShow(files, fResolve) {
|
||||||
this.select = '';
|
this.select = '';
|
||||||
|
|
@ -497,4 +499,4 @@ function getElementsInNamespaces(xmlDocument, tagName) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return results;
|
return results;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue