Jelajahi Sumber

refactor: order response data

Gustavo Mantovani 1 Minggu lalu
induk
melakukan
ccd989f5a6

+ 1 - 0
src/components/dashboard/DashboardProvidersClose.vue

@@ -90,6 +90,7 @@ const periodTypeMap = ref({
 });
 
 
+// eslint-disable-next-line no-unused-vars
 const formatDistance = (distance) => {
   if (distance === null || distance === undefined || distance === '') return '—';
 

+ 1 - 0
src/pages/search/SearchPage.vue

@@ -173,6 +173,7 @@ const priceByPeriod = (p) => {
   return p[key] ? formatCurrency(p[key]) : t('search_page.no_price');
 };
 
+// eslint-disable-next-line no-unused-vars
 const formatDistance = (distance) => {
   if (distance === null || distance === undefined || distance === '') return '—';