mirror of
https://github.com/nasa/openmct.git
synced 2025-06-18 23:28:14 +00:00
1.8.2 merge into master - the version of open mct after the last but equally as important (#4611)
* Release 1.8.2 * Trasactions tests are ids equal fix 1.8.2 (#4593) * test fix * return promise on 'onSave' * "Export as JSON" yielding corrupted data #4577 (#4585) https://github.com/nasa/openmct/issues/4577 * Fix date picker default time setting (#4581) Fix mode dropdown position Fix unlistening of upstream events * Bar graph composition policy fix to allow condition set creation. (#4598) * Use image timestamp instead of image index to show large view (#4591) * Use image timestamp instead of image index to show large view * Fix failing test Co-authored-by: Nikhil <nikhil.k.mandlik@nasa.gov>
This commit is contained in:
@ -143,6 +143,11 @@ export default {
|
||||
time: undefined
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
defaultDateTime() {
|
||||
this.updateFromModel(this.defaultDateTime);
|
||||
}
|
||||
},
|
||||
mounted: function () {
|
||||
this.updateFromModel(this.defaultDateTime);
|
||||
this.updateViewForMonth();
|
||||
|
@ -109,11 +109,11 @@ export default {
|
||||
showModesMenu() {
|
||||
const elementBoundingClientRect = this.$refs.modeMenuButton.getBoundingClientRect();
|
||||
const x = elementBoundingClientRect.x;
|
||||
const y = elementBoundingClientRect.y;
|
||||
const y = elementBoundingClientRect.y + elementBoundingClientRect.height;
|
||||
|
||||
const menuOptions = {
|
||||
menuClass: 'c-conductor__mode-menu',
|
||||
placement: this.openmct.menus.menuPlacement.TOP_RIGHT
|
||||
placement: this.openmct.menus.menuPlacement.BOTTOM_RIGHT
|
||||
};
|
||||
this.openmct.menus.showSuperMenu(x, y, this.modes, menuOptions);
|
||||
},
|
||||
|
Reference in New Issue
Block a user