mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-23 01:13:48 +01:00
Fix glitch
This commit is contained in:
parent
9473f9b70d
commit
c75ca2f62f
@ -29,12 +29,14 @@ export default Vue.extend({
|
||||
XNotificationsColumn,
|
||||
XWidgetsColumn
|
||||
},
|
||||
|
||||
computed: {
|
||||
columns() {
|
||||
if (this.$store.state.settings.deck == null) return [];
|
||||
return this.$store.state.settings.deck.columns;
|
||||
}
|
||||
},
|
||||
|
||||
created() {
|
||||
if (this.$store.state.settings.deck == null) {
|
||||
const deck = {
|
||||
@ -63,6 +65,14 @@ export default Vue.extend({
|
||||
}
|
||||
},
|
||||
|
||||
mounted() {
|
||||
document.documentElement.style.overflow = 'hidden';
|
||||
},
|
||||
|
||||
beforeDestroy() {
|
||||
document.documentElement.style.overflow = 'auto';
|
||||
},
|
||||
|
||||
methods: {
|
||||
add() {
|
||||
this.os.new(Menu, {
|
||||
|
Loading…
Reference in New Issue
Block a user