Skip to content

Commit

Permalink
modifed get run status for paragraph and bug fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
cloverhearts committed Jun 16, 2016
1 parent ca27bf5 commit 18db280
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -563,7 +563,7 @@ public List<Map<String, Object>> getJobListforNotebook(boolean needsReload,

// set notebook Name
String notebookName = note.getName();
if (notebookName != null) {
if (notebookName != null && !notebookName.equals("")) {
info.put("notebookName", note.getName());
} else {
info.put("notebookName", "Note " + note.id());
Expand Down Expand Up @@ -593,9 +593,9 @@ public List<Map<String, Object>> getJobListforNotebook(boolean needsReload,

// is update notebook for last server update time.
if (lastRunningUnixTime > lastUpdateServerUnixTime) {
paragraphsInfo.add(paragraphItem);
isUpdateNotebook = true;
}
paragraphsInfo.add(paragraphItem);
}

// set interpreter bind type
Expand Down

0 comments on commit 18db280

Please sign in to comment.