fix(core): update
This commit is contained in:
parent
342ac96429
commit
5876225b39
@ -99,8 +99,10 @@ export class WccDashboard extends DeesElement {
|
||||
></wcc-properties>
|
||||
<wcc-frame id="wccFrame" viewport=${this.selectedViewport}>
|
||||
${(() => {
|
||||
console.log('jojo');
|
||||
if (this.selectedType === 'page' && this.selectedItem) {
|
||||
if (typeof this.selectedItem === 'function') {
|
||||
console.log('jojo page')
|
||||
return this.selectedItem();
|
||||
} else {
|
||||
console.error('The selected item looks strange:');
|
||||
|
Loading…
Reference in New Issue
Block a user