ZIP: полные пути файлов (подпапки), v1.4

This commit is contained in:
2026-06-16 14:57:19 +04:00
parent 21f8c0b072
commit d5858d7836
2 changed files with 7 additions and 9 deletions
+2 -3
View File
@@ -47,7 +47,7 @@
<body>
<div class="topbar">
<img src="{{ url_for('static', filename='nubes-logo.svg') }}" alt="Nubes">
<span class="title">Сверка договоров <span style="font-weight:400;color:var(--muted);font-size:12px;">v1.3</span></span>
<span class="title">Сверка договоров <span style="font-weight:400;color:var(--muted);font-size:12px;">v1.4</span></span>
</div>
<div class="content">
@@ -150,9 +150,8 @@
var zip = await JSZip.loadAsync(f);
zip.forEach(function(relativePath, zipEntry) {
if (!zipEntry.dir) {
var fname = relativePath.split('/').pop() || relativePath;
fileQueue.push({
name: fname,
name: relativePath,
lastModified: zipEntry.date ? zipEntry.date.getTime() : 0,
size: 0,
isZipChild: true,