Skip to content

Commit 0d719a2

Browse files
committed
minor
1 parent 684eee9 commit 0d719a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/static-webserver/client/source/class/osparc/file/TreeFolderView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ qx.Class.define("osparc.file.TreeFolderView", {
167167
.then(task => {
168168
task.addListener("resultReceived", e => {
169169
const data = e.getData();
170-
const size = data["result"] ? osparc.utils.Utils.bytesToSize(data["result"]) : "-";
170+
const size = (data && "result" in data) ? osparc.utils.Utils.bytesToSize(data["result"]) : "-";
171171
totalSize.set({
172172
icon: null,
173173
label: this.tr("Total size: ") + size,

0 commit comments

Comments
 (0)