Repository: zeppelin
Updated Branches:
  refs/heads/master 81e7030f7 -> c82de2f3d


[ZEPPELIN-3849] display note name correctly.

### What is this PR for?
Master branch displays note id instead of note name.
I think it's side effect after change 
https://github.com/apache/zeppelin/pull/3163.

### What type of PR is it?
Bug Fix

### What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-3849

### How should this be tested?
See if note name is displayed instead of note id

### 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 #3218 from Leemoonsoo/ZEPPELIN-3849 and squashes the following commits:

3e91b990f [Lee moon soo] display note name


Project: http://git-wip-us.apache.org/repos/asf/zeppelin/repo
Commit: http://git-wip-us.apache.org/repos/asf/zeppelin/commit/c82de2f3
Tree: http://git-wip-us.apache.org/repos/asf/zeppelin/tree/c82de2f3
Diff: http://git-wip-us.apache.org/repos/asf/zeppelin/diff/c82de2f3

Branch: refs/heads/master
Commit: c82de2f3d3b50691f7148af41668d377b861907c
Parents: 81e7030
Author: Lee moon soo <m...@apache.org>
Authored: Mon Nov 5 09:52:01 2018 -0800
Committer: Lee moon soo <m...@apache.org>
Committed: Tue Nov 6 08:53:03 2018 -0800

----------------------------------------------------------------------
 .../src/components/array-ordering/array-ordering.service.js      | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/zeppelin/blob/c82de2f3/zeppelin-web/src/components/array-ordering/array-ordering.service.js
----------------------------------------------------------------------
diff --git 
a/zeppelin-web/src/components/array-ordering/array-ordering.service.js 
b/zeppelin-web/src/components/array-ordering/array-ordering.service.js
index 22f7b7a..1f275e6 100644
--- a/zeppelin-web/src/components/array-ordering/array-ordering.service.js
+++ b/zeppelin-web/src/components/array-ordering/array-ordering.service.js
@@ -27,10 +27,10 @@ function ArrayOrderingService(TRASH_FOLDER_ID) {
   };
 
   this.getNoteName = function(note) {
-    if (note.path === undefined || note.path.trim() === '') {
+    if (note.name === undefined || note.name.trim() === '') {
       return 'Note ' + note.id;
     } else {
-      return note.path;
+      return note.name;
     }
   };
 

Reply via email to