Skip to content

Commit

Permalink
Fixes issue with version view
Browse files Browse the repository at this point in the history
  • Loading branch information
erikmafo committed Nov 12, 2020
1 parent 061231f commit 8ff37c6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.erikmafo</groupId>
<artifactId>bigtableviewer</artifactId>
<version>0.2.5</version>
<version>0.2.7</version>
<packaging>jar</packaging>
<name>bigtableviewer</name>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,9 @@ private String getCellValue(TreeTablePosition<BigtableRow, ?> position) {
private TreeTableColumn<BigtableRow, String> createRowKeyColumn() {
TreeTableColumn<BigtableRow, String> tableColumn = new TreeTableColumn<>(ROW_KEY);
tableColumn.setCellValueFactory(param -> new ReadOnlyObjectWrapper<>(param.getValue().getValue().getRowKey()));
tableColumn.setCellValueFactory(features -> features.getValue().isLeaf() ?
new ReadOnlyStringWrapper("") :
new ReadOnlyObjectWrapper<>(features.getValue().getValue().getRowKey()));
tableColumn.setCellValueFactory(features -> features.getValue().getParent() == root ?
new ReadOnlyStringWrapper(features.getValue().getValue().getRowKey()) :
new ReadOnlyStringWrapper(""));
tableColumn.setCellFactory(new RowCellFactory());
return tableColumn;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ public BooleanProperty displayTimestampProperty() {
private String getDisplayValue() {

if (cell.getValue() == null) {
return "null";
return "";
}

if (valueConverter.getValue() == null) {
Expand Down

0 comments on commit 8ff37c6

Please sign in to comment.