Skip to content

Commit

Permalink
Version: 1.0.1 Update
Browse files Browse the repository at this point in the history
  • Loading branch information
gh0stkey committed Sep 19, 2024
1 parent f8a474f commit c99fc7f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/main/java/caa/component/member/GeneratorDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,14 @@ private void addDataToTable(String data, DefaultTableModel model) {
if (!data.isBlank()) {
String[] rows = data.split("\\r?\\n");
for (String row : rows) {
String[] cellData = {row.split("=")[0], httpUtils.decodeParameter(row.split("=")[1])};
String[] cellData;

if (row.contains("=")) {
cellData = new String[]{row.split("=")[0], httpUtils.decodeParameter(row.split("=")[1])};
} else {
cellData = new String[]{row};
}

model.addRow(cellData);
}
UITools.deduplicateTableData(model);
Expand Down

0 comments on commit c99fc7f

Please sign in to comment.