Skip to content

Commit

Permalink
Fix emission estimates typo
Browse files Browse the repository at this point in the history
  • Loading branch information
nsoranzo committed Feb 25, 2024
1 parent 51ee56e commit fb2f08a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 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
4 changes: 2 additions & 2 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 @@ -203,7 +203,7 @@ const estimatedServerInstance = computed(() => {

<CarbonEmissions
v-if="
shouldShowCarbonEmissionsEstimates && estimatedServerInstance && jobRuntimeInSeconds && coresAllocated
shouldShowCarbonEmissionEstimates && estimatedServerInstance && jobRuntimeInSeconds && coresAllocated
"
:carbon-intensity="carbonIntensity"
:geographical-server-location-name="geographicalServerLocationName"
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 @@ -4,7 +4,7 @@
class="job-metrics"
:job-id="args.job_id"
:should-show-aws-estimate="false"
:should-show-carbon-emissions-estimates="false"
:should-show-carbon-emission-estimates="false"
:include-title="false" />
</b-card>
</template>
Expand Down

0 comments on commit fb2f08a

Please sign in to comment.