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