mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 07:50:12 +01:00
trying to understand hirachy
This commit is contained in:
parent
a433f7d9fe
commit
04925f7347
1 changed files with 4 additions and 0 deletions
|
|
@ -21,6 +21,10 @@ BlazeComponent.extendComponent({
|
||||||
|
|
||||||
onCreated() {
|
onCreated() {
|
||||||
this.isLoaded = new ReactiveVar(false);
|
this.isLoaded = new ReactiveVar(false);
|
||||||
|
console.log(this.parentComponent());
|
||||||
|
console.log(this.parentComponent().parentComponent());
|
||||||
|
console.log(JSON.stringify(this.parentComponent()));
|
||||||
|
console.log(JSON.stringify(this.parentComponent().parentComponent()));
|
||||||
let parentComponent = this.parentComponent().parentComponent();
|
let parentComponent = this.parentComponent().parentComponent();
|
||||||
if (parentComponent === null) parentComponent = this.parentComponent();
|
if (parentComponent === null) parentComponent = this.parentComponent();
|
||||||
parentComponent.showOverlay.set(true);
|
parentComponent.showOverlay.set(true);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue