wizard next/prev button fixed..
This commit is contained in:
		@@ -417,13 +417,14 @@ export default {
 | 
			
		||||
 | 
			
		||||
        prev() {
 | 
			
		||||
            if (this.active-- > 2);
 | 
			
		||||
            history.back()
 | 
			
		||||
            //history.back()
 | 
			
		||||
 | 
			
		||||
            this.$router.push("/wizard/companies");
 | 
			
		||||
        },
 | 
			
		||||
 | 
			
		||||
        next() {
 | 
			
		||||
            if (this.active++ > 2);
 | 
			
		||||
 | 
			
		||||
            this.$router.push("/wizard/taxes");
 | 
			
		||||
        },
 | 
			
		||||
    },
 | 
			
		||||
 
 | 
			
		||||
@@ -132,11 +132,9 @@ export default {
 | 
			
		||||
 | 
			
		||||
    methods: {
 | 
			
		||||
        prev() {
 | 
			
		||||
            this.active--;
 | 
			
		||||
            if (this.active-- > 2);
 | 
			
		||||
 | 
			
		||||
            if (this.active > 2) {
 | 
			
		||||
                this.$router.push("/wizard/taxes");
 | 
			
		||||
            }
 | 
			
		||||
            this.$router.push("/wizard/taxes");
 | 
			
		||||
        },
 | 
			
		||||
 | 
			
		||||
        finish() {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user