Skip to content

Commit

Permalink
Missing truthy
Browse files Browse the repository at this point in the history
  • Loading branch information
Sleeckx committed Jun 30, 2016
1 parent 341de8a commit d1bb100
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ namespace Vidyano.WebComponents {

const config = this.app.configuration.getQueryConfig(query);

this._setFileDrop(!!config && !!config.fileDropAttribute && query.actions["New"]);
this._setFileDrop(!!config && !!config.fileDropAttribute && !!query.actions["New"]);
this._setTemplated(!!config && config.hasTemplate);

if (this.templated) {
Expand Down

0 comments on commit d1bb100

Please sign in to comment.