Skip to content

Commit

Permalink
🔨: remove unused jobLoading ref in DatasetDetails
Browse files Browse the repository at this point in the history
  • Loading branch information
itisAliRH committed Jun 13, 2024
1 parent 57191ed commit 092b77f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions client/src/components/DatasetInformation/DatasetDetails.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ const userStore = useUserStore();
const { currentUser } = storeToRefs(userStore);
const loading = ref(false);
const jobLoading = ref(true);
const jobTimeOut = ref<any>(null);
const jobDetails = ref<JobDetails>();
const dataset = ref<HDADetailed | null>(null);
Expand All @@ -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 });
Expand All @@ -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;
}
}
Expand Down

0 comments on commit 092b77f

Please sign in to comment.