feat: new settings and mainpage blocks
This commit is contained in:
@@ -24,10 +24,11 @@ export const useSettingsStore = defineStore('settings', {
|
||||
}
|
||||
},
|
||||
texts: {
|
||||
no_more_products: 'Нет товаров',
|
||||
empty_cart: 'Корзина пуста',
|
||||
order_created_success: 'Заказ успешно оформлен.',
|
||||
text_no_more_products: 'Нет товаров',
|
||||
text_empty_cart: 'Корзина пуста',
|
||||
text_order_created_success: 'Заказ успешно оформлен.',
|
||||
},
|
||||
mainpage_blocks: [],
|
||||
}),
|
||||
|
||||
actions: {
|
||||
@@ -51,6 +52,7 @@ export const useSettingsStore = defineStore('settings', {
|
||||
this.feature_vouchers = settings.feature_vouchers;
|
||||
this.currency_code = settings.currency_code;
|
||||
this.texts = settings.texts;
|
||||
this.mainpage_blocks = settings.mainpage_blocks;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user