From 092b77f06fdcf60b24cea64610621fa26df0a335 Mon Sep 17 00:00:00 2001 From: Alireza Heidari Date: Thu, 13 Jun 2024 14:56:56 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A8:=20remove=20unused=20`jobLoading`?= =?UTF-8?q?=20ref=20in=20`DatasetDetails`?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- client/src/components/DatasetInformation/DatasetDetails.vue | 5 ----- 1 file changed, 5 deletions(-) diff --git a/client/src/components/DatasetInformation/DatasetDetails.vue b/client/src/components/DatasetInformation/DatasetDetails.vue index 8fc632bd8bf8..7680606b3106 100644 --- a/client/src/components/DatasetInformation/DatasetDetails.vue +++ b/client/src/components/DatasetInformation/DatasetDetails.vue @@ -33,7 +33,6 @@ const userStore = useUserStore(); const { currentUser } = storeToRefs(userStore); const loading = ref(false); -const jobLoading = ref(true); const jobTimeOut = ref(null); const jobDetails = ref(); const dataset = ref(null); @@ -57,8 +56,6 @@ async function getDatasetDetails() { } async function loadJobDetails() { - jobLoading.value = true; - try { const { data } = await fetchJobDetails({ job_id: dataset.value?.creating_job as string, full: true }); @@ -73,8 +70,6 @@ async function loadJobDetails() { const error = e as AxiosError<{ err_msg?: string }>; jobLoadingError.value = error.response?.data?.err_msg || "Unable to fetch available dataset details."; - } finally { - jobLoading.value = false; } }