summaryrefslogtreecommitdiff
path: root/frontend/src/components/modals/TextInputModal.js
diff options
context:
space:
mode:
authorFabian Mastenbroek <mail.fabianm@gmail.com>2020-10-28 00:36:19 +0100
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-10-28 11:38:34 +0100
commit7e05dc7a885cf562052461565376e174e6a9c962 (patch)
tree025412c87b233b88d715f082be37e964e2090931 /frontend/src/components/modals/TextInputModal.js
parent5ec42736f3f17e9f5432063b4cc17e6ad9a75713 (diff)
Migrate to Reactstrap for Modal implementation
Diffstat (limited to 'frontend/src/components/modals/TextInputModal.js')
-rw-r--r--frontend/src/components/modals/TextInputModal.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontend/src/components/modals/TextInputModal.js b/frontend/src/components/modals/TextInputModal.js
index d5edb60b..d0918c7e 100644
--- a/frontend/src/components/modals/TextInputModal.js
+++ b/frontend/src/components/modals/TextInputModal.js
@@ -12,7 +12,7 @@ class TextInputModal extends React.Component {
}
componentDidUpdate() {
- if (this.props.initialValue) {
+ if (this.props.initialValue && this.textInput) {
this.textInput.value = this.props.initialValue
}
}