web/admin: fix requests on API Drawer vanishing when the drawer is closed
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
3367b83368
commit
1781ab59ba
|
@ -60,6 +60,9 @@ export class AdminInterface extends LitElement {
|
||||||
.pf-c-page__drawer {
|
.pf-c-page__drawer {
|
||||||
z-index: auto !important;
|
z-index: auto !important;
|
||||||
}
|
}
|
||||||
|
.display-none {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
`,
|
`,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -111,16 +114,16 @@ export class AdminInterface extends LitElement {
|
||||||
</main>
|
</main>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
${this.notificationOpen
|
<ak-notification-drawer
|
||||||
? html`<ak-notification-drawer
|
class="pf-c-drawer__panel pf-m-width-33 ${this.notificationOpen
|
||||||
class="pf-c-drawer__panel pf-m-width-33"
|
? "display-none"
|
||||||
></ak-notification-drawer>`
|
: ""}"
|
||||||
: html``}
|
></ak-notification-drawer>
|
||||||
${this.apiDrawerOpen
|
<ak-api-drawer
|
||||||
? html`<ak-api-drawer
|
class="pf-c-drawer__panel pf-m-width-33 ${this.apiDrawerOpen
|
||||||
class="pf-c-drawer__panel pf-m-width-33"
|
? "display-none"
|
||||||
></ak-api-drawer>`
|
: ""}"
|
||||||
: html``}
|
></ak-api-drawer>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Reference in New Issue