Skip to content

Commit 717c15d

Browse files
authored
Merge pull request #1250 from complexdatacollective/fix/max-nodes
fix/ action button still clickable after max reached
2 parents 620359f + 05dd205 commit 717c15d

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

package-lock.json

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"@babel/preset-react": "7.10.1",
5656
"@codaco/eslint-plugin-spellcheck": "0.0.14",
5757
"@codaco/shared-consts": "~0.0.1-alpha.3",
58-
"@codaco/ui": "~5.8.3",
58+
"@codaco/ui": "~5.8.5",
5959
"@electron/notarize": "~1.2.3",
6060
"@faker-js/faker": "~6.0.0-alpha.5",
6161
"@zippytech/sorty": "^2.0.0",
@@ -315,4 +315,4 @@
315315
"cordova-plugin-ionic-keyboard": {}
316316
}
317317
}
318-
}
318+
}

src/containers/QuickNodeForm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@ const QuickAddForm = ({
185185
>
186186
<ActionButton
187187
disabled={disabled}
188-
onClick={() => !disabled && setShowForm(true)}
188+
onClick={() => setShowForm(true)}
189189
icon={icon}
190190
title={`Add ${nodeType}...`}
191191
/>

0 commit comments

Comments
 (0)