aboutsummaryrefslogtreecommitdiffstats
path: root/ui/classic/app/components/editable-label.js
diff options
context:
space:
mode:
Diffstat (limited to 'ui/classic/app/components/editable-label.js')
-rw-r--r--ui/classic/app/components/editable-label.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/classic/app/components/editable-label.js b/ui/classic/app/components/editable-label.js
index 41936f5e0..48ba5060e 100644
--- a/ui/classic/app/components/editable-label.js
+++ b/ui/classic/app/components/editable-label.js
@@ -13,6 +13,7 @@ function EditableLabel () {
EditableLabel.prototype.render = function () {
const props = this.props
const state = this.state
+ console.log("editing:", state.isEditingLabel);
if (state && state.isEditingLabel) {
return h('div.editable-label', [
@@ -30,6 +31,8 @@ EditableLabel.prototype.render = function () {
} else {
return h('div.name-label', {
onClick: (event) => {
+ debugger;
+ console.log("event", event.target);
this.setState({ isEditingLabel: true })
},
}, this.props.children)