diff --git a/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-fired-events.js b/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-fired-events.js index 64fdf4ccd1328..708cf0bc7502a 100644 --- a/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-fired-events.js +++ b/extensions/arc/deployment/src/main/resources/dev-ui/qwc-arc-fired-events.js @@ -1,5 +1,4 @@ import { LitElement, html, css} from 'lit'; -import { until } from 'lit/directives/until.js'; import { JsonRpc } from 'jsonrpc'; import '@vaadin/grid'; import { columnBodyRenderer } from '@vaadin/grid/lit.js'; @@ -54,12 +53,15 @@ export class QwcArcFiredEvents extends LitElement { } render() { - return html`${until(this._renderFiredEvents(), html`Loading ArC fired event...`)}`; + if(this._firedEvents){ + return this._renderFiredEvents(); + } else { + return html`Loading ArC fired event...`; + } } _renderFiredEvents(){ - if(this._firedEvents){ - return html`
`)} `; - } } _renderEntityTypesTable(pu) { diff --git a/extensions/kubernetes/openshift/deployment/src/main/resources/dev-ui/qwc-openshift-deployment.js b/extensions/kubernetes/openshift/deployment/src/main/resources/dev-ui/qwc-openshift-deployment.js index 43d58856e0c71..f956f3fc569eb 100644 --- a/extensions/kubernetes/openshift/deployment/src/main/resources/dev-ui/qwc-openshift-deployment.js +++ b/extensions/kubernetes/openshift/deployment/src/main/resources/dev-ui/qwc-openshift-deployment.js @@ -2,7 +2,6 @@ import {LitElement, html, css, render} from 'lit'; import {JsonRpc} from 'jsonrpc'; import '@vaadin/icon'; import '@vaadin/button'; -import {until} from 'lit/directives/until.js'; import '@vaadin/grid'; import '@vaadin/grid/vaadin-grid-sort-column.js'; import {builderTypes} from 'build-time-data'; @@ -68,10 +67,6 @@ export class QwcOpenshiftDeployment extends LitElement { * @returns {*} */ render() { - return html`${until(this._renderForm(), html`Loading...`)}`; - } - - _renderForm() { const _builders = []; let _defaultBuilder = ""; if (this.builders) { diff --git a/extensions/liquibase/deployment/src/main/resources/dev-ui/qwc-liquibase-datasources.js b/extensions/liquibase/deployment/src/main/resources/dev-ui/qwc-liquibase-datasources.js index 5fb063785b80c..85b9e89405879 100644 --- a/extensions/liquibase/deployment/src/main/resources/dev-ui/qwc-liquibase-datasources.js +++ b/extensions/liquibase/deployment/src/main/resources/dev-ui/qwc-liquibase-datasources.js @@ -11,7 +11,6 @@ import '@vaadin/checkbox'; import '@vaadin/grid'; import '@vaadin/grid/vaadin-grid-sort-column.js'; import 'qui-alert'; -import { until } from 'lit/directives/until.js'; import { columnBodyRenderer } from '@vaadin/grid/lit.js'; export class QwcLiquibaseDatasources extends LitElement { @@ -54,12 +53,15 @@ export class QwcLiquibaseDatasources extends LitElement { } render() { - return html`${until(this._renderDataSourceTable(), html`Loading datasources...`)}`; + if (this._factories) { + return this._renderDataSourceTable(); + } else { + return html`Loading datasources...`; + } } _renderDataSourceTable() { - if (this._factories) { - return html` + return html` ${this._message}