Browse Source

HUE-4811 [oozie] Remove link to sub-workflow dashboard from editor

krish 9 years ago
parent
commit
85da54d07b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/oozie/src/oozie/templates/editor2/common_workflow.mako

+ 1 - 1
apps/oozie/src/oozie/templates/editor2/common_workflow.mako

@@ -617,7 +617,7 @@
   <!-- ko if: $parent.widgetType() != 'subworkflow-widget' && $parent.logsURL() != '' && $parent.logsURL() != null -->
     <a class="pull-right pointer logs-icon" data-bind="click: function(){ location.href = $parent.logsURL(); }" title="${ _('View logs') }"><i class="fa fa-tasks"></i></a>
   <!-- /ko -->
-  <!-- ko if: $parent.widgetType() == 'subworkflow-widget' -->
+  <!-- ko if: $parent.widgetType() == 'subworkflow-widget' && $parent.externalIdUrl()-->
     <a class="pull-right pointer logs-icon" data-bind="attr: { href: $parent.externalIdUrl() }" title="${ _('View the workflow') }"><img src="${static('oozie/art/icon_oozie_workflow_48.png')}" class="app-icon"/></a>
   <!-- /ko -->
 </script>