Gustavo Zanatta 2 týždňov pred
rodič
commit
d49900faf9

+ 5 - 5
src/components/dashboard/DashboardFavoriteProviders.vue

@@ -44,14 +44,14 @@
 // import { formatCurrency } from 'src/helpers/utils';
 // import { useI18n } from 'vue-i18n';
 
-import { formatCurrency } from 'src/helpers/utils';
-import { useI18n } from 'vue-i18n';
+// import { formatCurrency } from 'src/helpers/utils';
+// import { useI18n } from 'vue-i18n';
 
 defineProps({ data: { type: Array, default: () => [] } });
 
 // const { t } = useI18n();
 
-const { t } = useI18n();
+// const { t } = useI18n();
 
 const avatarColors = [
   { background: '#ffd5df', color: '#932e57' },
@@ -73,7 +73,7 @@ const avatarColors = [
 //   return t('dashboard_client.favorites.from') + ' ' + formatCurrency(min);
 // };
 
-const bestPrice = (item) => {
+/*const bestPrice = (item) => {
   const prices = [
     item.daily_price_2h,
     item.daily_price_4h,
@@ -84,7 +84,7 @@ const bestPrice = (item) => {
   if (!prices.length) return t('dashboard_client.favorites.no_price');
   const min = Math.min(...prices.map(Number));
   return t('dashboard_client.favorites.from') + ' ' + formatCurrency(min);
-};
+};*/
 </script>
 
 <style scoped lang="scss">