Browse Source

HUE-7946 [jb] Link to subworkflow on workflow dashboard page 404s in Hue 4

Roohi 7 years ago
parent
commit
fc76192c83
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

@@ -687,7 +687,7 @@
     <!-- /ko -->
   <!-- /ko -->
   <!-- ko if: $parent.widgetType() == 'subworkflow-widget' && $parent.externalIdUrl()-->
-    <a class="pull-right pointer logs-icon" data-bind="hueLink: $parent.externalIdUrl" title="${ _('View the workflow') }"><img src="${static('oozie/art/icon_oozie_workflow_48.png')}" class="app-icon" alt="${ _('Oozie workflow icon') }"/></a>
+    <a class="pull-right pointer logs-icon" data-bind="click: function(){ huePubSub.publish('oozie.action.click', $parent); }" title="${ _('View the workflow') }"><img src="${static('oozie/art/icon_oozie_workflow_48.png')}" class="app-icon" alt="${ _('Oozie workflow icon') }"/></a>
   <!-- /ko -->
 </script>