Modulo Administración #78

Merged
jsegarra merged 19 commits from wbuezas/hedera-web-mindshore:feature/Administracion into 4922-vueMigration 2024-08-23 19:29:46 +00:00
4 changed files with 2 additions and 5 deletions
Showing only changes of commit 33ef1da2a9 - Show all commits

View File

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

View File

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

View File

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

View File

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