Browse Source

HUE-6888 [oozie] Fix link page on SLA with Hue 4

Romain Rigaux 8 years ago
parent
commit
717bf98
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/oozie/src/oozie/static/oozie/js/sla.utils.js

+ 1 - 1
apps/oozie/src/oozie/static/oozie/js/sla.utils.js

@@ -45,7 +45,7 @@ function getSLArow(row) {
     getSLAStatusLabel(row.slaStatus),
     emptyStringIfNull(row.appName),
     emptyStringIfNull(row.appType),
-    '<a href="' + row.appUrl + '#showSla" data-row-selector="true">' + row.id + '</a>',
+    IS_HUE_4 ? '<a href="/hue/jobbrowser/#!id=' + row.id + '">' + row.id + '</a>' : '<a href="' + row.appUrl + '#showSla" data-row-selector="true">' + row.id + '</a>',
     '<span class="nominalTime">' + emptyStringIfNull(row.nominalTime) + '</span>',
     '<span class="expectedStart">' + emptyStringIfNull(row.expectedStart) + '</span>',
     '<span class="actualStart">' + emptyStringIfNull(row.actualStart) + '</span>',