Skip to content

Commit

Permalink
fixing app grid
Browse files Browse the repository at this point in the history
  • Loading branch information
DonChiaQE committed Jan 1, 2022
1 parent 010927b commit 4a07d41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
5 changes: 0 additions & 5 deletions src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -60,11 +60,6 @@ export default {
Photos,
// TopNavbar,
},
created() {
for (let i = 0; i < this.windows.length; i++) {
this.windowComponents[this.windows[i].windowId] = this.windows[i].windowContent
}
},
computed: {
style() {
return {
Expand Down
3 changes: 2 additions & 1 deletion src/components/AppGrid.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ export default {
},
},
mounted() {
this.gridHeight = this.$store.getters.getFullscreenWindowHeight;
let gridH = this.$store.getters.getFullscreenWindowHeight
this.gridHeight = gridH.substring(0, gridH.length - 2) - 60 + 'px'
},
}
</script>

0 comments on commit 4a07d41

Please sign in to comment.