Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(archive): Change folder size to '--' #1144

Merged
merged 2 commits into from
Jan 7, 2020

Conversation

mxiao6
Copy link
Contributor

@mxiao6 mxiao6 commented Jan 7, 2020

No description provided.

@mxiao6 mxiao6 requested a review from a team as a code owner January 7, 2020 22:46
@boxcla
Copy link

boxcla commented Jan 7, 2020

Verified that @mxiao6 has signed the CLA. Thanks for the pull request!

@@ -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,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be a !!size check? Or do we want files to display 0 bytes?

@mergify mergify bot merged commit 55c9044 into box:master Jan 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants