create plan page refactoring

This commit is contained in:
Čarodej
2021-11-25 14:19:04 +01:00
parent 3bfca2ac83
commit 7f6598238e
6 changed files with 255 additions and 167 deletions
+11
View File
@@ -302,6 +302,16 @@ const defaultState = {
value: 168,
},
],
intervalList: [
{
label: 'Monthly',
value: 'month',
},
{
label: 'Annually',
value: 'year',
},
],
currencyList: [
{
label: 'USD - United States Dollar',
@@ -1063,6 +1073,7 @@ const getters = {
expirationList: state => state.expirationList,
requestedPlan: state => state.requestedPlan,
currencyList: state => state.currencyList,
intervalList: state => state.intervalList,
countries: state => state.countries,
timezones: state => state.timezones,
api: state => state.config.api,