This is an automated email from the ASF dual-hosted git repository. moon pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/zeppelin.git
The following commit(s) were added to refs/heads/master by this push: new 3fe48dd [ZEPPELIN-3920] [FOLLOWUP] get correct hyperlink address when num job url is one 3fe48dd is described below commit 3fe48dd1e9b30a85889ab0c0c09b7761bd5ede1c Author: Lee moon soo <m...@apache.org> AuthorDate: Fri Feb 1 15:08:44 2019 -0800 [ZEPPELIN-3920] [FOLLOWUP] get correct hyperlink address when num job url is one ### What is this PR for? After change https://github.com/apache/zeppelin/pull/3273, invalid value is assigned to the Job link when only one JobUrl exists. ### What type of PR is it? Bug Fix ### What is the Jira issue? https://issues.apache.org/jira/browse/ZEPPELIN-3920 ### How should this be tested? Test manually ### Questions: * Does the licenses files need update? no * Is there breaking changes for older versions? no * Does this needs documentation? no Author: Lee moon soo <m...@apache.org> Closes #3299 from Leemoonsoo/ZEPPELIN-3920-followup and squashes the following commits: 6f9d3f8ce [Lee moon soo] get correct hyperlink address when num job url is one --- zeppelin-web/src/app/notebook/paragraph/paragraph-control.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zeppelin-web/src/app/notebook/paragraph/paragraph-control.html b/zeppelin-web/src/app/notebook/paragraph/paragraph-control.html index b39ac08..841ca5f 100644 --- a/zeppelin-web/src/app/notebook/paragraph/paragraph-control.html +++ b/zeppelin-web/src/app/notebook/paragraph/paragraph-control.html @@ -15,7 +15,7 @@ limitations under the License. <div id="{{paragraph.id}}_control" class="control" ng-show="!asIframe"> <span> <span ng-show="paragraph.runtimeInfos.jobUrl.values.length == 1"> - <a href="{{paragraph.runtimeInfos.jobUrl.jobUrl}}" target="_blank" style="text-decoration: none;" + <a href="{{paragraph.runtimeInfos.jobUrl.values[0].jobUrl}}" target="_blank" style="text-decoration: none;" tooltip-placement="top" uib-tooltip="{{paragraph.runtimeInfos.jobUrl.tooltip}}" > <span class="fa fa-tasks"></span> {{paragraph.runtimeInfos.jobUrl.label}}