Skip to content

Commit

Permalink
Enable 'Data' menu for single users. Historically this was only
Browse files Browse the repository at this point in the history
published stuff, but now has more and needs to be accessible.
  • Loading branch information
dannon committed Mar 22, 2024
1 parent a4e3e4b commit dfd13d1
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions client/src/entry/analysis/menu.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,7 @@ export function fetchMenu(options = {}) {
//
// 'Data Items' or Libraries tab.
//
if (Galaxy.config.single_user) {
// Single user can still use libraries, especially as we may grow that
// functionality as a representation for external data. The rest is
// hidden though.
menu.push({
title: _l("Data Libraries"),
url: "/libraries",
id: "libraries",
});
} else if (Galaxy.user.id) {
if (Galaxy.user.id) {
menu.push({
id: "resources",
title: _l("Data"),
Expand Down

0 comments on commit dfd13d1

Please sign in to comment.