Skip to content

Commit

Permalink
fix duplicate grid columns
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksandar Zivkovic <[email protected]>
  • Loading branch information
anywaywayany committed Feb 27, 2024
1 parent b253f25 commit 2d4eef8
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import com.samic.samic.data.entity.StorageObject;
import com.samic.samic.data.entity.Supply;
import com.samic.samic.data.entity.User;
import com.samic.samic.data.foundation.Guard;
import com.samic.samic.security.AuthenticatedUser;
import com.samic.samic.services.ServiceObjectType;
import com.samic.samic.services.ServiceProducer;
Expand Down Expand Up @@ -327,10 +326,6 @@ private void initHardware() {
hardwareGrid.setMaxHeight("300px");
hardwareGrid.getStyle().setBorder("0px");

hardwareGrid.addColumn(StorageObject::getId).setHeader("Lager ID").setAutoWidth(true);
hardwareGrid.addColumn(so ->
Guard.isNotNull.test(so.getObjectTypeName()) ? so.getObjectTypeName().getName() : "")
.setHeader("Gerätetyp Name").setAutoWidth(true);
initHardwareData();
// MY_HARDWARE - PUT UI TOGETHER
add(UIFactory.rootComponentContainer("Meine Hardware", hardwareGrid));
Expand Down

0 comments on commit 2d4eef8

Please sign in to comment.