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 {
|
||||
if (!this.reference_projector_id) {
|
||||
if (!this.reference_projector_id || this.reference_projector_id === this.id) {
|
||||
return this;
|
||||
} else {
|
||||
return this._referenceProjector;
|
||||
|
Loading…
Reference in New Issue
Block a user