diff --git a/client/src/components/JobMetrics/AwsEstimate.vue b/client/src/components/JobMetrics/AwsEstimate.vue
index 4cecb0346e3..fbd7b79b7a9 100644
--- a/client/src/components/JobMetrics/AwsEstimate.vue
+++ b/client/src/components/JobMetrics/AwsEstimate.vue
@@ -1,7 +1,7 @@
diff --git a/client/src/components/JobMetrics/JobMetrics.vue b/client/src/components/JobMetrics/JobMetrics.vue
index 8c073f47851..a6804fa6814 100644
--- a/client/src/components/JobMetrics/JobMetrics.vue
+++ b/client/src/components/JobMetrics/JobMetrics.vue
@@ -4,21 +4,31 @@ import CarbonEmissions from "./CarbonEmissions/CarbonEmissions.vue";
import { useJobMetricsStore } from "@/stores/jobMetricsStore";
import { computed, ref, unref } from "vue";
-export interface JobMetricsProps {
- datasetFilesize?: number;
- datasetId?: string;
- datasetType?: string;
- includeTitle?: boolean;
- jobId: string;
- shouldShowAwsEstimate?: boolean;
-}
-
-const props = withDefaults(defineProps(), {
- datasetFilesize: 0,
- datasetId: "",
- datasetType: "hda",
- includeTitle: true,
- shouldShowAwsEstimate: false,
+const props = defineProps({
+ jobId: {
+ type: String,
+ required: true,
+ },
+ datasetFilesize: {
+ type: Number,
+ default: 0,
+ },
+ datasetId: {
+ type: String,
+ default: "",
+ },
+ datasetType: {
+ type: String,
+ default: "hda",
+ },
+ includeTitle: {
+ type: Boolean,
+ default: true,
+ },
+ shouldShowAwsEstimate: {
+ type: Boolean,
+ default: false,
+ },
});
const jobMetricsStore = useJobMetricsStore();