-
Notifications
You must be signed in to change notification settings - Fork 116
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): Add root folder #1149
Conversation
Verified that @mxiao6 has signed the CLA. Thanks for the pull request! |
Possible to do another patch release today so that this will go into the GA release? |
I'm waiting the designer for if 'Root Folder' text is ok. |
@@ -71,7 +71,7 @@ class ArchiveViewer extends BaseViewer { | |||
|
|||
try { | |||
/* global BoxArchive loaded from archive.js */ | |||
this.archiveComponent = new BoxArchive(this.archiveEl, data); | |||
this.archiveComponent = new BoxArchive(this.archiveEl, this.options.file.name, data); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to confirm: Are this.options.file
and this.options.file.name
always defined?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just to confirm: Are
this.options.file
andthis.options.file.name
always defined?
If file is not defined, the representations are not too, so the expected behavior is to throw the error.
No description provided.