close #2687 Enhancement: Remove wizard taxes step
This commit is contained in:
10
resources/assets/js/wizard.js
vendored
10
resources/assets/js/wizard.js
vendored
@ -10,7 +10,6 @@ Vue.use(VueRouter);
|
||||
import Wizard from './Wizard.vue';
|
||||
import Company from './views/wizard/Company.vue';
|
||||
import Currencies from './views/wizard/Currencies.vue';
|
||||
import Taxes from './views/wizard/Taxes.vue';
|
||||
import Finish from './views/wizard/Finish.vue';
|
||||
|
||||
var global_path = new URL(url).protocol + '//' + window.location.host;
|
||||
@ -18,7 +17,9 @@ var base_path = url.replace(global_path, '');
|
||||
|
||||
const router = new VueRouter({
|
||||
mode: 'history',
|
||||
|
||||
base: base_path,
|
||||
|
||||
routes: [
|
||||
{
|
||||
path: '/wizard',
|
||||
@ -35,18 +36,15 @@ const router = new VueRouter({
|
||||
name: 'Currencies',
|
||||
component: Currencies
|
||||
},
|
||||
{
|
||||
path: '/wizard/taxes',
|
||||
name: 'Taxes',
|
||||
component: Taxes
|
||||
},
|
||||
{
|
||||
path: '/wizard/finish',
|
||||
name: 'Finish',
|
||||
component: Finish
|
||||
}
|
||||
],
|
||||
|
||||
linkActiveClass: 'active',
|
||||
|
||||
scrollBehavior: (to, from ,savedPosition) => {
|
||||
if (savedPosition) {
|
||||
return savedPosition;
|
||||
|
Reference in New Issue
Block a user