Small changes
gitea/hedera-web/pipeline/pr-4922-vueMigration This commit looks good Details

This commit is contained in:
William Buezas 2024-08-22 12:35:35 -03:00
parent 73eb3dcbee
commit 33ef1da2a9
4 changed files with 2 additions and 5 deletions

View File

@ -56,7 +56,6 @@ defineExpose({
const inputRules = [
val => {
console.log('asd');
const { min, max } = vnInputRef.value.$attrs;
if (min >= 0) {
if (Math.floor(val) < min) return t('inputMin', { value: min });

View File

@ -24,7 +24,7 @@ export default {
'Novembre',
'Desembre'
],
shortMonths: [
monthsShort: [
'Gen',
'Feb',
'Mar',

View File

@ -54,7 +54,7 @@ const removeOrder = async (id, index) => {
};
const loadOrder = orderId => {
// store.loadIntoBasket(orderId);
appStore.loadIntoBasket(orderId);
router.push({ name: 'catalog' });
};

View File

@ -69,8 +69,6 @@ export const useAppStore = defineStore('hedera', {
},
loadIntoBasket(orderId) {
console.log('loadIntoBasket', orderId);
console.log('this.basketOrderId', this.basketOrderId);
if (this.basketOrderId !== orderId) {
localStorage.setItem('hederaBasket', orderId);
this.basketOrderId = orderId;