Make rp not able to be empty

pull/10616/head
Andrew Watkins 2017-03-20 14:53:49 -07:00
parent aa33b622a5
commit b33aa32feb
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ const DatabaseRow = ({
name="name"
type="number"
min="1"
value={replication || ''}
value={replication || 1}
placeholder="how many nodes do you have"
onChange={(e) => onEdit(database, {...retentionPolicy, replication: +e.target.value})}
onKeyDown={(e) => onKeyDown(e, database, retentionPolicy)}