Skip to content

Commit

Permalink
Merge branch 'release_23.2' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoranzo committed Feb 27, 2024
2 parents 745757e + 12a782b commit ddd1803
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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" />
<JobDestinationParams v-if="currentUser.is_admin" :job-id="dataset.creating_job" />
<JobDependencies :dependencies="job.dependencies"></JobDependencies>
<div v-if="dataset.peek">
Expand Down
6 changes: 2 additions & 4 deletions client/src/components/JobMetrics/JobMetrics.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const props = defineProps({
type: Boolean,
default: false,
},
shouldShowCarbonEmissionsEstimates: {
shouldShowCarbonEmissionEstimates: {
type: Boolean,
default: true,
},
Expand Down Expand Up @@ -209,9 +209,7 @@ const estimatedServerInstance = computed(() => {
:memory-allocated-in-mebibyte="memoryAllocatedInMebibyte" />

<CarbonEmissions
v-if="
shouldShowCarbonEmissionsEstimates && estimatedServerInstance && jobRuntimeInSeconds && coresAllocated
"
v-if="shouldShowCarbonEmissionEstimates && estimatedServerInstance && jobRuntimeInSeconds && coresAllocated"
:carbon-intensity="carbonIntensity"
:geographical-server-location-name="geographicalServerLocationName"
:power-usage-effectiveness="powerUsageEffectiveness"
Expand Down
2 changes: 1 addition & 1 deletion client/src/components/Markdown/Elements/JobMetrics.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ watch(
class="job-metrics"
:job-id="targetJobId"
:should-show-aws-estimate="false"
:should-show-carbon-emissions-estimates="false"
:should-show-carbon-emission-estimates="false"
:include-title="false" />
</JobSelection>
<b-card-footer v-if="footer">
Expand Down

0 comments on commit ddd1803

Please sign in to comment.