From fcd616d4f7095d26892af5cfd4d594db9c699cf5 Mon Sep 17 00:00:00 2001 From: John Chilton Date: Thu, 2 Mar 2023 15:03:00 -0500 Subject: [PATCH] Migrate SelectObjectStore to composition API. --- .../CurrentHistory/SelectPreferredStore.vue | 16 +- .../ObjectStore/SelectObjectStore.vue | 178 +++++++++--------- 2 files changed, 94 insertions(+), 100 deletions(-) diff --git a/client/src/components/History/CurrentHistory/SelectPreferredStore.vue b/client/src/components/History/CurrentHistory/SelectPreferredStore.vue index 6cf49f4f0801..0fd3195918f4 100644 --- a/client/src/components/History/CurrentHistory/SelectPreferredStore.vue +++ b/client/src/components/History/CurrentHistory/SelectPreferredStore.vue @@ -35,27 +35,27 @@ export default { selectedObjectStoreId: selectedObjectStoreId, newDatasetsDescription: "New dataset outputs from tools and workflows executed in this history", popoverPlacement: "left", - galaxySelectionDefalutTitle: "Use Galaxy Defaults", - galaxySelectionDefalutDescription: + galaxySelectionDefaultTitle: "Use Galaxy Defaults", + galaxySelectionDefaultDescription: "Selecting this will reset Galaxy to default behaviors configured by your Galaxy administrator.", - userSelectionDefalutTitle: "Use Your User Preference Defaults", - userSelectionDefalutDescription: + userSelectionDefaultTitle: "Use Your User Preference Defaults", + userSelectionDefaultDescription: "Selecting this will cause the history to not set a default and to fallback to your user preference defined default.", }; }, computed: { defaultOptionTitle() { if (this.userPreferredObjectStoreId) { - return this.userSelectionDefalutTitle; + return this.userSelectionDefaultTitle; } else { - return this.galaxySelectionDefalutTitle; + return this.galaxySelectionDefaultTitle; } }, defaultOptionDescription() { if (this.userPreferredObjectStoreId) { - return this.userSelectionDefalutDescription; + return this.userSelectionDefaultDescription; } else { - return this.galaxySelectionDefalutDescription; + return this.galaxySelectionDefaultDescription; } }, }, diff --git a/client/src/components/ObjectStore/SelectObjectStore.vue b/client/src/components/ObjectStore/SelectObjectStore.vue index 073bbd8a280d..0ce3cb152923 100644 --- a/client/src/components/ObjectStore/SelectObjectStore.vue +++ b/client/src/components/ObjectStore/SelectObjectStore.vue @@ -1,3 +1,89 @@ + + - -