From 75b04d1405f799cf07bbfe4269da2f4c978e46f9 Mon Sep 17 00:00:00 2001 From: George Gastaldi Date: Wed, 29 Mar 2023 12:48:04 -0300 Subject: [PATCH] Remove lock icon for runtime config overrides - Remove the lock icon from the fixed property icon in the qwc-configuration.js file - Remove the lock icon for config values that are overridable at runtime in the config.html file - Fixes #32229 --- .../io.quarkus.quarkus-vertx-http/config.html | 2 -- .../resources/dev-ui/qwc/qwc-configuration.js | 15 --------------- 2 files changed, 17 deletions(-) diff --git a/extensions/vertx-http/deployment/src/main/resources/dev-templates/io.quarkus.quarkus-vertx-http/config.html b/extensions/vertx-http/deployment/src/main/resources/dev-templates/io.quarkus.quarkus-vertx-http/config.html index b93b6ac279830..2df31d7407937 100644 --- a/extensions/vertx-http/deployment/src/main/resources/dev-templates/io.quarkus.quarkus-vertx-http/config.html +++ b/extensions/vertx-http/deployment/src/main/resources/dev-templates/io.quarkus.quarkus-vertx-http/config.html @@ -419,8 +419,6 @@ {#if item.configPhase?? && (item.configPhase == "BUILD_AND_RUN_TIME_FIXED" || item.configPhase == "BUILD_TIME")} - {#else} - {/if} {item.configValue.name} diff --git a/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-configuration.js b/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-configuration.js index f122686e226af..0de964c4fea83 100644 --- a/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-configuration.js +++ b/extensions/vertx-http/dev-ui-resources/src/main/resources/dev-ui/qwc/qwc-configuration.js @@ -63,15 +63,6 @@ export class QwcConfiguration extends LitElement { cursor: pointer; color: var(--lumo-primary-color); } - - .lock-icon { - color: var(--lumo-error-color-50pct); - font-size: small; - } - .unlock-icon { - color: var(--lumo-success-color-50pct); - font-size: small; - } `; static properties = { @@ -158,12 +149,6 @@ export class QwcConfiguration extends LitElement { ` - } else { - return html` - - - ` } }