Merge branch 'pdf-issue' into 'master'

fix Pdf issue

See merge request mohit.panjvani/crater-web!136
This commit is contained in:
Mohit Panjwani
2019-12-12 14:55:04 +00:00
8 changed files with 47 additions and 37 deletions

View File

@ -50,7 +50,7 @@ export default {
Layout.set('layout-default')
},
created() {
created () {
this.bootstrap().then((res) => {
this.setInitialCompany()
})
@ -59,7 +59,7 @@ export default {
methods: {
...mapActions(['bootstrap']),
...mapActions('company', ['setSelectedCompany']),
setInitialCompany() {
setInitialCompany () {
let selectedCompany = Ls.get('selectedCompany') !== null
if (selectedCompany) {