mirror of
https://github.com/nasa/openmct.git
synced 2025-01-29 15:43:52 +00:00
remove debugging code and extraneous classes
This commit is contained in:
parent
96d8870f22
commit
64bd625d0b
@ -21,9 +21,7 @@
|
||||
-->
|
||||
|
||||
<template>
|
||||
<div ref="events" class="c-events-tsv c-timeline-holder">
|
||||
<div ref="eventsHolder" class="c-events-tsv__contents u-contents"></div>
|
||||
</div>
|
||||
<div ref="events" class="c-events-tsv c-timeline-holder c-events-tsv__contents" />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
@ -138,14 +136,12 @@ export default {
|
||||
},
|
||||
enableExtendEventLines(keyStringToEnable) {
|
||||
if (this.keyString === keyStringToEnable) {
|
||||
console.debug('🚄 enabling extending event lines');
|
||||
this.extendLines = true;
|
||||
this.emitExtendedLines();
|
||||
}
|
||||
},
|
||||
disableExtendEventLines(keyStringToDisable) {
|
||||
if (this.keyString === keyStringToDisable) {
|
||||
console.debug('🚄 disabling extended event lines');
|
||||
this.extendLines = false;
|
||||
// emit an empty array to clear the lines
|
||||
this.emitExtendedLines();
|
||||
@ -308,7 +304,7 @@ export default {
|
||||
|
||||
this.destroyEventsContainer = destroy;
|
||||
const component = vNode.componentInstance;
|
||||
this.$refs.eventsHolder.appendChild(component.$el);
|
||||
this.$refs.events.appendChild(component.$el);
|
||||
|
||||
eventContainer = component.$el.querySelector(`.${CONTAINER_CLASS}`);
|
||||
eventContainer.style.maxWidth = `${containerWidth}px`;
|
||||
|
@ -23,7 +23,6 @@
|
||||
import { EventEmitter } from 'eventemitter3';
|
||||
export default class ExtendedLinesBus extends EventEmitter {
|
||||
updateExtendedLines(keyString, lineData) {
|
||||
console.debug('🍯 ExtendedLines#updateExtendedLines');
|
||||
this.emit('update-extended-lines', { lineData, keyString });
|
||||
}
|
||||
disableExtendEventLines(keyString) {
|
||||
|
@ -103,7 +103,8 @@ export default {
|
||||
useIndependentTime: this.domainObject.configuration.useIndependentTime === true,
|
||||
timeOptions: this.domainObject.configuration.timeOptions,
|
||||
extendedLinesPerKey: {},
|
||||
additionalLeftOffset: 0
|
||||
additionalLeftOffset: 0,
|
||||
extendedLeftOffset: 0
|
||||
};
|
||||
},
|
||||
watch: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user