mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Drop old version inline -- see 'about' now
This commit is contained in:
@@ -57,13 +57,6 @@ export function userLogoutClient() {
|
||||
|
||||
export function fetchMenu(options = {}) {
|
||||
const Galaxy = getGalaxyInstance();
|
||||
const { version_minor, version_major } = Galaxy.config;
|
||||
const { release_doc_base_url } = options;
|
||||
const versionUserDocumentationUrl =
|
||||
version_minor == "dev"
|
||||
? "https://docs.galaxyproject.org/en/latest/releases/index.html"
|
||||
: `${release_doc_base_url}${version_major}/releases/${version_major}_announce_user.html`;
|
||||
|
||||
const menu = [];
|
||||
//
|
||||
// Analyze data tab.
|
||||
@@ -210,11 +203,6 @@ export function fetchMenu(options = {}) {
|
||||
title: _l("Introduction to Galaxy"),
|
||||
url: "welcome/new",
|
||||
},
|
||||
{
|
||||
title: _l("Galaxy Version: " + Galaxy.config.version_major),
|
||||
url: versionUserDocumentationUrl,
|
||||
target: "_blank",
|
||||
},
|
||||
{
|
||||
title: _l("About"),
|
||||
url: "about",
|
||||
|
||||
Reference in New Issue
Block a user