You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by hs...@apache.org on 2022/07/26 12:04:12 UTC

[incubator-datalab] 01/01: fixed condition which included status CREATED

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

hshpak pushed a commit to branch fix/DATALAB-2939/frontend_side
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git

commit a24b04faad6327ad4d4d063d16e39fefb4cce1ec
Author: Hennadii_Shpak <bo...@gmail.com>
AuthorDate: Tue Jul 26 15:03:16 2022 +0300

    fixed condition which included status CREATED
---
 .../resources/webapp/src/app/resources/images/images.component.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/images/images.component.html b/services/self-service/src/main/resources/webapp/src/app/resources/images/images.component.html
index 4cfd71419..b594c8574 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/images/images.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/images/images.component.html
@@ -234,15 +234,15 @@
         </div>
         <bubble-up #actions class="list-menu" position="bottom-left" alternative="top-left">
           <ul class="list-unstyled">
-            <li [matTooltip]="element.status !== 'CREATED' && 'The image cannot be shared because it is not in the &quot;Created&quot; status'
+            <li [matTooltip]="element.status !== 'ACTIVE' && 'The image cannot be shared because it is not in the &quot;Created&quot; status'
                   || userName !== element.user && 'Images may be shared by creators only'"
                 matTooltipPosition="above"
-                [matTooltipDisabled]="userName === element.user && element.status === 'CREATED'"
+                [matTooltipDisabled]="userName === element.user && element.status === 'ACTIVE'"
             >
               <button
                 class="action-button__share"
                 (click)="onShare(element)"
-                [disabled]="userName !== element.user || element.status !== 'CREATED'"
+                [disabled]="userName !== element.user || element.status !== 'ACTIVE'"
               >
                 <i class="material-icons">screen_share</i>
                 <span>Share</span>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org