Browse Source

HUE-8758 [connector] Fix test connection result logic display

Should also add a spinner while testing.
Romain 5 năm trước cách đây
mục cha
commit
41a27e2ee7

+ 2 - 2
desktop/core/src/desktop/js/apps/about/components/ko.connectorsConfig.js

@@ -169,8 +169,8 @@ const TEMPLATE = `
     </a>
     <span>
       <i class="fa fa-question" data-bind="visible: !$parent.testConnectionExecuted()"></i>
-      <i class="fa fa-check" data-bind="visible: $parent.testConnectionExecuted() && $parent.testConnectionErrors().length"></i>
-      <i class="fa fa-exclamation" data-bind="visible: $parent.testConnectionExecuted() && !$parent.testConnectionErrors().length"></i>
+      <i class="fa fa-check" data-bind="visible: $parent.testConnectionExecuted() && !$parent.testConnectionErrors().length"></i>
+      <i class="fa fa-exclamation" data-bind="visible: $parent.testConnectionExecuted() && $parent.testConnectionErrors().length"></i>
       <span data-bind="visible: $parent.testConnectionExecuted() && $parent.testConnectionErrors().length, text: $parent.testConnectionErrors">
       </span>
     </span>