From 6f020275df088b083ab74d8f37853becb525b4ac Mon Sep 17 00:00:00 2001 From: Nicola Soranzo Date: Sun, 25 Feb 2024 21:32:12 +0000 Subject: [PATCH] Fix emission estimates typo Fix https://github.com/galaxyproject/galaxy/issues/17535 . --- client/src/components/DatasetInformation/DatasetDetails.vue | 2 +- client/src/components/JobMetrics/JobMetrics.vue | 6 ++---- client/src/components/Markdown/Elements/JobMetrics.vue | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/client/src/components/DatasetInformation/DatasetDetails.vue b/client/src/components/DatasetInformation/DatasetDetails.vue index 4049686acf85..f9f2606669ed 100644 --- a/client/src/components/DatasetInformation/DatasetDetails.vue +++ b/client/src/components/DatasetInformation/DatasetDetails.vue @@ -25,7 +25,7 @@ :geographical-server-location-name="config.geographical_server_location_name" :power-usage-effectiveness="config.power_usage_effectiveness" :should-show-aws-estimate="config.aws_estimate" - :should-show-carbon-emissions-estimates="config.carbon_emissions_estimates" /> + :should-show-carbon-emission-estimates="config.carbon_emission_estimates" />
diff --git a/client/src/components/JobMetrics/JobMetrics.vue b/client/src/components/JobMetrics/JobMetrics.vue index 508de897f543..6707657e2d8b 100644 --- a/client/src/components/JobMetrics/JobMetrics.vue +++ b/client/src/components/JobMetrics/JobMetrics.vue @@ -45,7 +45,7 @@ const props = defineProps({ type: Boolean, default: false, }, - shouldShowCarbonEmissionsEstimates: { + shouldShowCarbonEmissionEstimates: { type: Boolean, default: true, }, @@ -202,9 +202,7 @@ const estimatedServerInstance = computed(() => { :memory-allocated-in-mebibyte="memoryAllocatedInMebibyte" />