Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

task: Remove free voucher campaign #836

Merged
merged 1 commit into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions src/themes/ivpn-v3/assets/js/components/AccountMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,6 @@
>{{ $t('account.deviceManagement') }}</router-link
>
</li>
<li :class="{ 'is-active': isVouchersRoute() }">
<router-link :to="{ name: 'vouchers-' + this.language }"
>{{ $t('account.vouchers') }}</router-link
>
</li>
<li class="expand"></li>
<li>
<router-link
Expand Down
17 changes: 0 additions & 17 deletions src/themes/ivpn-v3/assets/js/router/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ import InvoiceView from '@/views/Account/Invoice.vue'
import ApplePayView from '@/views/Account/AddFunds/ApplePay.vue'
import GooglePayView from '@/views/Account/AddFunds/GooglePay.vue'
import DeviceManagementView from '@/views/Account/DeviceManagement.vue'
import VouchersView from '@/views/Account/Vouchers.vue'

import InternalErrorView from '../views/500.vue'

Expand Down Expand Up @@ -758,22 +757,6 @@ const routes = [
title: es.account.metaTitle.deviceManagement,
}
},
{
path: '/en/account/vouchers',
name: 'vouchers-en',
component: VouchersView,
meta: {
title: en.account.metaTitle.deviceManagement,
}
},
{
path: '/es/account/vouchers',
name: 'vouchers-es',
component: VouchersView,
meta: {
title: es.account.metaTitle.deviceManagement,
}
},
]

const router = createRouter({
Expand Down
2 changes: 0 additions & 2 deletions src/themes/ivpn-v3/assets/js/store/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import braintree from "./module_braintree.js"
import account from "./module_account.js"
import light from "./module_light.js"
import sessions from "./module_sessions.js"
import vouchers from "./module_vouchers.js"

export default new Vuex.Store({
modules: {
Expand All @@ -24,7 +23,6 @@ export default new Vuex.Store({
account,
light,
sessions,
vouchers,
},

state: {
Expand Down
Loading