Merge pull request #4681 from FinnStutzenstein/fixClos
Fix self-referencing projectors with new dependency management
This commit is contained in:
commit
c868a04571
@ -12,7 +12,7 @@ export class ViewProjector extends BaseViewModel {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public get referenceProjector(): ViewProjector {
|
public get referenceProjector(): ViewProjector {
|
||||||
if (!this.reference_projector_id) {
|
if (!this.reference_projector_id || this.reference_projector_id === this.id) {
|
||||||
return this;
|
return this;
|
||||||
} else {
|
} else {
|
||||||
return this._referenceProjector;
|
return this._referenceProjector;
|
||||||
|
Loading…
Reference in New Issue
Block a user