diff --git a/README.md b/README.md index 0f77814..679b7b5 100644 --- a/README.md +++ b/README.md @@ -11,12 +11,12 @@ A complex table component designed for the material design specifications! Support documentation can be found [here](https://github.com/GwtMaterialDesign/gwt-material-table/wiki) ## Maven -Current Version 2.8.1 +Current Version 2.8.3 ```xml com.github.gwtmaterialdesign gwt-material-table - 2.8.1 + 2.8.3 ``` diff --git a/pom.xml b/pom.xml index 554f251..dc2446a 100644 --- a/pom.xml +++ b/pom.xml @@ -6,7 +6,7 @@ gwt-material-parent com.github.gwtmaterialdesign - 2.8.1 + 2.8.3 gwt-material-table diff --git a/src/main/java/gwt/material/design/client/data/component/RowComponent.java b/src/main/java/gwt/material/design/client/data/component/RowComponent.java index a7890cd..abc7532 100644 --- a/src/main/java/gwt/material/design/client/data/component/RowComponent.java +++ b/src/main/java/gwt/material/design/client/data/component/RowComponent.java @@ -86,7 +86,7 @@ public DataView getDataView() { } public CategoryComponent getCategory() { - return categoryInfo != null ? dataView.getCategoryById(categoryInfo.getId().toString()) : null; + return categoryInfo != null && categoryInfo.getId() != null ? dataView.getCategoryById(categoryInfo.getId().toString()) : null; } public String getCategoryName() {