Skip to content

Commit

Permalink
task: Remove free voucher campaign
Browse files Browse the repository at this point in the history
  • Loading branch information
Natanael Rodriguez Ramos authored and Natanael Rodriguez Ramos committed Oct 21, 2024
1 parent 3d7baa4 commit 55e6f91
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 24 deletions.
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

0 comments on commit 55e6f91

Please sign in to comment.