🐛 Clearer selection matching

This commit is contained in:
Gina Häußge committed 2021-11-15 15:45:03 +01:00
1 parent a2e92fb459
commit 1f8d8d982b
1 file changed
+3 -1
@@ -679,7 +679,9 @@ $(function () {
if (
printAfterLoad &&
self.listHelper.isSelected(data) &&
self.listHelper.isSelectedByMatcher(function (item) {
return item && item.origin === data.origin && item.path === data.path;
}) &&
self.enablePrint(data)
) {
// file was already selected, just start the print job