diff --git a/src/plugins/hyperlink/HyperlinkProvider.js b/src/plugins/hyperlink/HyperlinkProvider.js index d5450a0e55..6a39a36310 100644 --- a/src/plugins/hyperlink/HyperlinkProvider.js +++ b/src/plugins/hyperlink/HyperlinkProvider.js @@ -33,10 +33,6 @@ export default function HyperlinkProvider(openmct) { return domainObject.type === 'hyperlink'; }, - canEdit(domainObject) { - return domainObject.type === 'hyperlink'; - }, - view: function (domainObject) { let component; diff --git a/src/plugins/persistence/couch/CouchObjectProvider.js b/src/plugins/persistence/couch/CouchObjectProvider.js index 93da948f19..159b2e8cab 100644 --- a/src/plugins/persistence/couch/CouchObjectProvider.js +++ b/src/plugins/persistence/couch/CouchObjectProvider.js @@ -378,7 +378,7 @@ export default class CouchObjectProvider { this.observers[keyString] = this.observers[keyString].filter(observer => observer !== callback); if (this.observers[keyString].length === 0) { delete this.observers[keyString]; - if (Object.keys(this.observers).length === 0) { + if (Object.keys(this.observers).length === 0 && this.isObservingObjectChanges()) { this.stopObservingObjectChanges(); } } @@ -436,7 +436,7 @@ export default class CouchObjectProvider { if (!this.changesFeedSharedWorker) { this.changesFeedSharedWorker = this.startSharedWorker(); - if (typeof this.stopObservingObjectChanges === 'function') { + if (this.isObservingObjectChanges()) { this.stopObservingObjectChanges(); } @@ -458,7 +458,7 @@ export default class CouchObjectProvider { let error = false; - if (typeof this.stopObservingObjectChanges === 'function') { + if (this.isObservingObjectChanges()) { this.stopObservingObjectChanges(); } diff --git a/src/plugins/plot/MctPlot.vue b/src/plugins/plot/MctPlot.vue index e03e1beeab..c423598e9b 100644 --- a/src/plugins/plot/MctPlot.vue +++ b/src/plugins/plot/MctPlot.vue @@ -936,7 +936,7 @@ export default { }, setYAxisKey(yKey) { - this.config.series.models[0].emit('change:yKey', yKey); + this.config.series.models[0].set('yKey', yKey); }, pause() {