This is an automated email from the ASF dual-hosted git repository.

hshpak pushed a commit to branch hot-fix/configuration-page/disabled-endpoint
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git

commit 7ced8147736e748951521d9fb8337dbf432b38d5
Author: Hennadii_Shpak <[email protected]>
AuthorDate: Mon May 23 17:58:22 2022 +0300

    fixed ngClass condition
---
 .../app/administration/configuration/configuration.component.html | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git 
a/services/self-service/src/main/resources/webapp/src/app/administration/configuration/configuration.component.html
 
b/services/self-service/src/main/resources/webapp/src/app/administration/configuration/configuration.component.html
index a69ebe6c5..6070255e4 100644
--- 
a/services/self-service/src/main/resources/webapp/src/app/administration/configuration/configuration.component.html
+++ 
b/services/self-service/src/main/resources/webapp/src/app/administration/configuration/configuration.component.html
@@ -23,7 +23,7 @@
       <ng-template [ngIf]="endpoints">
         <label class="label">Selected endpoint </label>
         <div class="mat-reset">
-          <div class="control selector-wrapper" [ngClass]="{ 'disabled-select' 
: !isEndpointsMoreTheOne}">
+          <div class="control selector-wrapper" [ngClass]="{ 'disabled-select' 
: !isEndpointsMoreThanOne}">
             <mat-form-field [ngClass]="{ 'not-active' : 
services['provisioning'].isConfigChanged || 
services['self-service'].isConfigChanged || services['billing'].isConfigChanged 
}">
               <mat-label>Select endpoint</mat-label>
                 <mat-select
@@ -42,7 +42,7 @@
                     {{ endpoint.name === 'local' ? endpoint.name : 
endpoint.name + ' (external endpoint)'}}{{endpoint.status !== 'ACTIVE' ? ', 
inactive' : ''}}
                   </mat-option>
                 </mat-select>
-              <button class="caret" [disabled]="!isEndpointsMoreTheOne">
+              <button class="caret" [disabled]="!isEndpointsMoreThanOne">
                 <i class="material-icons">keyboard_arrow_down</i>
               </button>
             </mat-form-field>
@@ -113,12 +113,12 @@
                     role="menuitem"
                   >
                     <span 
(click)="toggleSettings(service.key);$event.stopPropagation()" class="d-flex">
-                      <div class="checkbox-wrap">
+                      <span class="checkbox-wrap">
                         <datalab-checkbox
                           [checked]="services[service.key].selected"
                           (toggleSelection)="toggleSettings(service.key)"
                         ></datalab-checkbox>
-                      </div>
+                      </span>
                       {{service.value.label}}
                     </span>
                   </p>


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to