mirror of
https://github.com/nasa/openmct.git
synced 2024-12-21 14:07:50 +00:00
1.7.6 master merge (#4097)
* remove can edit from hyperlink (#4076) * Add check for stop observing before calling it (#4080) * Set the yKey value on the series when it's changed (#4083) * [Imagery] Click on image to get a large view #3582 (#4085) fixed issue where large imagery view opens only once. Co-authored-by: Henry Hsu <hhsu0219@gmail.com> Co-authored-by: Nikhil <nikhil.k.mandlik@nasa.gov>
This commit is contained in:
parent
fe928a1386
commit
f42fe78acf
@ -33,10 +33,6 @@ export default function HyperlinkProvider(openmct) {
|
||||
return domainObject.type === 'hyperlink';
|
||||
},
|
||||
|
||||
canEdit(domainObject) {
|
||||
return domainObject.type === 'hyperlink';
|
||||
},
|
||||
|
||||
view: function (domainObject) {
|
||||
let component;
|
||||
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
@ -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() {
|
||||
|
Loading…
Reference in New Issue
Block a user