min amount of caracters in title

This commit is contained in:
Luis Fernando Molina committed 2019-05-11 18:01:08 +02:00
1 parent f2e0a01522
commit 61f69b8949
1 file changed
+4 -2
+4 -2
View File
@@ -149,8 +149,10 @@ function newStrategyPartTitle () {
thisObject.editMode = false
let input = document.getElementById('input')
input.style.display = 'none'
thisObject.payload.title = input.value
thisObject.payload.node.name = input.value
if (input.value.length > 2) {
thisObject.payload.title = input.value
thisObject.payload.node.name = input.value
}
}
}