Skip to content

Commit bf4e879

Browse files
authored
Merge branch 'processing:develop' into links
2 parents b747911 + 3f56555 commit bf4e879

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

client/styles/components/_loader.scss

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
display: flex;
55
justify-content: center;
66
align-items: center;
7+
@include themify() {
8+
background-color: getThemifyVariable('background-color');
9+
}
710
}
811

912

server/controllers/project.controller.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,10 @@ function addFileToZip(file, files, zip, path = '') {
222222
const numChildFiles = file.children.filter((f) => f.fileType !== 'folder')
223223
.length;
224224
let childrenAdded = 0;
225-
225+
if (numChildFiles === 0) {
226+
zip.folder(file.name);
227+
resolve();
228+
}
226229
file.children.forEach(async (fileId) => {
227230
const childFile = files.find((f) => f.id === fileId);
228231

0 commit comments

Comments
 (0)