Turn library flag into boolean

This commit is contained in:
guerler
2019-04-30 16:17:14 -04:00
parent 803970ee65
commit 33e9e93e9f
@@ -350,7 +350,7 @@ let View = Backbone.View.extend({
onclick: () => {
let current = this.model.get("current");
let cnf = this.config[current];
let librarySupport = galaxy.user.id && cnf.library;
let librarySupport = Boolean(galaxy.user.id && cnf.library);
galaxy.data.dialog(
response => {
this._handleDropValues(response, false);