mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 16:22:14 +00:00
setup wizard refactoring
This commit is contained in:
@@ -3,17 +3,12 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapGetters } from 'vuex'
|
||||
export default {
|
||||
name: 'SetupWizard',
|
||||
mounted() {
|
||||
let status = this.$root.$data.config.installation
|
||||
|
||||
export default {
|
||||
name: 'SetupWizard',
|
||||
computed: {
|
||||
...mapGetters(['config']),
|
||||
},
|
||||
mounted() {
|
||||
let status = this.$root.$data.config.installation
|
||||
|
||||
if (status && status === 'setup-done') this.$router.push({ name: 'SignIn' })
|
||||
},
|
||||
}
|
||||
//if (status && status === 'setup-done') this.$router.push({ name: 'SignIn' })
|
||||
},
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user