web/satellite: Move pricing plan files
Move "common" pricing plan files from components/onboardingTour to components/account/billing. This way, the file imports make more sense when pricing plan info is used outside of the onboarding flow. Related to https://github.com/storj/storj/issues/5932 Change-Id: I94f5f561c88c3a8f0046065dfa1a708c062faa93
This commit is contained in:
parent
8c1f07b73e
commit
8a01bcfb2b
@ -31,7 +31,7 @@ import { AnalyticsErrorEventSource } from '@/utils/constants/analyticsEventNames
|
||||
import { useUsersStore } from '@/store/modules/usersStore';
|
||||
import { useConfigStore } from '@/store/modules/configStore';
|
||||
|
||||
import PricingPlanContainer from '@/components/onboardingTour/steps/pricingPlanFlow/PricingPlanContainer.vue';
|
||||
import PricingPlanContainer from '@/components/account/billing/pricingPlans/PricingPlanContainer.vue';
|
||||
import VLoader from '@/components/common/VLoader.vue';
|
||||
|
||||
const configStore = useConfigStore();
|
||||
@ -98,7 +98,7 @@ onBeforeMount(async () => {
|
||||
|
||||
let config;
|
||||
try {
|
||||
config = require('@/components/onboardingTour/steps/pricingPlanFlow/pricingPlanConfig.json');
|
||||
config = require('@/components/account/billing/pricingPlans/pricingPlanConfig.json');
|
||||
} catch {
|
||||
notify.error('No pricing plan configuration file.', null);
|
||||
router.push(nextPath);
|
||||
|
Loading…
Reference in New Issue
Block a user