Explorar o código

HUE-6253 [oozie] A newly saved workflow should pass its uuid to the sharing modal

Enrico Berti %!s(int64=8) %!d(string=hai) anos
pai
achega
9e96e53
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      apps/oozie/src/oozie/static/oozie/js/workflow-editor.ko.js

+ 1 - 1
apps/oozie/src/oozie/static/oozie/js/workflow-editor.ko.js

@@ -1182,7 +1182,7 @@ var WorkflowEditorViewModel = function (layout_json, workflow_json, credentials_
             window.location.replace(data.url);
           }
           if (self.workflow.id() == null) {
-            shareViewModel.setDocUuid(data.uuid);
+            shareViewModel.setDocUuid(data.doc_uuid);
           }
           self.workflow.id(data.id);
           $(document).trigger("info", data.message);