mirror of
https://github.com/nasa/openmct.git
synced 2024-12-20 05:37:53 +00:00
Tidy pane js
This commit is contained in:
parent
91eefbfa7b
commit
3957fd619a
@ -187,17 +187,12 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
beforeMount() {
|
beforeMount() {
|
||||||
console.log('this.$parent', this.$parent, this.$parent.type);
|
|
||||||
this.type = this.$parent.type;
|
|
||||||
},
|
|
||||||
mounted() {
|
|
||||||
this.type = this.$parent.type;
|
this.type = this.$parent.type;
|
||||||
if (this.type === 'horizontal') {
|
if (this.type === 'horizontal') {
|
||||||
this.styleProp = 'width';
|
this.styleProp = 'width';
|
||||||
} else {
|
} else {
|
||||||
this.styleProp = 'height';
|
this.styleProp = 'height';
|
||||||
}
|
}
|
||||||
this.trackSize();
|
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
toggleCollapse: function () {
|
toggleCollapse: function () {
|
||||||
|
Loading…
Reference in New Issue
Block a user