Skip to content

Commit

Permalink
feat(archive): Change folder size to '--' (#1144)
Browse files Browse the repository at this point in the history
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
Mingze and mergify[bot] committed Jan 7, 2020
1 parent b1c2b0c commit 55c9044
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"babel-plugin-react-remove-properties": "^0.3.0",
"babel-plugin-transform-require-ignore": "^0.1.1",
"box-annotations": "^2.3.0",
"box-ui-elements": "^11.1.0-beta.27",
"box-ui-elements": "^11.1.0-beta.32",
"chai": "^4.2.0",
"chai-dom": "^1.8.1",
"conventional-changelog-cli": "^2.0.28",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/viewers/archive/ArchiveExplorer.js
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ class ArchiveExplorer extends React.Component {
},
// TODO: fix when conversion changes it to standard date format
[KEY_MODIFIED_AT]: `20${modifiedAt}`,
[KEY_SIZE]: size,
[KEY_SIZE]: type === 'folder' ? null : size,
...rest,
};
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ describe('lib/viewers/archive/ArchiveExplorer', () => {
},
},
[KEY_MODIFIED_AT]: `20${modifiedAt}`,
[KEY_SIZE]: size,
[KEY_SIZE]: type === 'folder' ? null : size,
...rest,
});
});
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2307,10 +2307,10 @@ box-annotations@^2.3.0:
resolved "https://registry.yarnpkg.com/box-annotations/-/box-annotations-2.3.0.tgz#5cac38171f7f8d9283659e2b243310f19d5ab7d3"
integrity sha512-Ea7tPgyJjX7vcnmZIfCorbzHd6oYx/OHVMPnZVQL/dUHR5vRKhLM0610xqwmVlUpk627sqHw5x/APaa+kt4SXg==

box-ui-elements@^11.1.0-beta.27:
version "11.1.0-beta.27"
resolved "https://registry.yarnpkg.com/box-ui-elements/-/box-ui-elements-11.1.0-beta.27.tgz#8342e3f99ecdd175524f284b7d829fb7c37ec450"
integrity sha512-7L5Caad0tZoB7PpQx2qqq9ZGiObf7ULHSlkmP8oms3sXqdbYOYmhTFLQfFVL469bf3EOR1GDxMzwbg0lYf1x+g==
box-ui-elements@^11.1.0-beta.32:
version "11.1.0-beta.32"
resolved "https://registry.yarnpkg.com/box-ui-elements/-/box-ui-elements-11.1.0-beta.32.tgz#ad3ec6d645ef8150ecc1957af2b69b5e788a2149"
integrity sha512-T+VoQPyrXveOrUZuq3zjsLveq2yuNP8VL6mCbNOrHwjXHGBdL/NOYpKAer767J93oZP8ImzVnPTIGYnXjVBgVQ==

brace-expansion@^1.1.7:
version "1.1.11"
Expand Down

0 comments on commit 55c9044

Please sign in to comment.