mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 00:12:08 +08:00
Turn library flag into boolean
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user