mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-24 02:04:04 +08:00
Open HistoryStorageOverview in center panel from HistoryPanel
Previously, if we clicked the History storage button for the current history in the `HistoryPanel`, it took over the whole screen because the `StorageDashboardRoutes` are not children of the `Analysis` route. Changed it so the `HistoryStorageOverview` route opens in the center panel as an `Analysis` route (only from the `HistoryPanel`, otherwise, it is still opened as one of the `StorageDashboardRoutes`) Fixes https://github.com/galaxyproject/galaxy/issues/17026
This commit is contained in:
@@ -57,7 +57,7 @@ onMounted(() => {
|
||||
});
|
||||
|
||||
function onDashboard() {
|
||||
router.push({ name: "HistoryOverview", params: { historyId: props.history.id } });
|
||||
router.push({ name: "HistoryOverviewInAnalysis", params: { historyId: props.history.id } });
|
||||
}
|
||||
|
||||
function setFilter(filter: string) {
|
||||
|
||||
@@ -68,6 +68,7 @@ import HistoryArchive from "@/components/History/Archiving/HistoryArchive.vue";
|
||||
import HistoryArchiveWizard from "@/components/History/Archiving/HistoryArchiveWizard.vue";
|
||||
import NotificationsList from "@/components/Notifications/NotificationsList.vue";
|
||||
import Sharing from "@/components/Sharing/SharingPage.vue";
|
||||
import HistoryStorageOverview from "@/components/User/DiskUsage/Visualizations/HistoryStorageOverview.vue";
|
||||
import WorkflowPublished from "@/components/Workflow/Published/WorkflowPublished.vue";
|
||||
|
||||
Vue.use(VueRouter);
|
||||
@@ -366,6 +367,12 @@ export function getRouter(Galaxy) {
|
||||
published: route.params.actionId == "list_published" ? true : false,
|
||||
}),
|
||||
},
|
||||
{
|
||||
path: "storage/history/:historyId",
|
||||
name: "HistoryOverviewInAnalysis",
|
||||
component: HistoryStorageOverview,
|
||||
props: true,
|
||||
},
|
||||
{
|
||||
path: "tours",
|
||||
component: TourList,
|
||||
|
||||
Reference in New Issue
Block a user