Skip to content

Commit

Permalink
kie-issues#513: chrome-extension: DMN Custom data types empty state a…
Browse files Browse the repository at this point in the history
…llows to click on button (apache#2102)

Co-authored-by: Kennedy Bowers <[email protected]>
  • Loading branch information
kbowers-ibm and kbowers-ibm authored Dec 27, 2023
1 parent 4325bbf commit 8708bfc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,9 @@ public void init(final DataTypeList presenter) {
}

void setupAddButtonReadOnlyStatus() {
addButton.disabled = readOnlyProvider.isReadOnlyDiagram();
boolean isReadOnly = readOnlyProvider.isReadOnlyDiagram();
addButton.disabled = isReadOnly;
addButtonPlaceholder.disabled = isReadOnly;
}

public void importJavaClasses(final List<JavaClass> javaClasses) {
Expand Down

0 comments on commit 8708bfc

Please sign in to comment.