Minor behavior fix
This commit is contained in:
parent
b80d14f410
commit
b92bd8d77c
|
@ -39,7 +39,7 @@ const TagWidget = props => {
|
|||
props.onAppendBody({ ...draftTag, value: updated });
|
||||
} else if (prev.length > 0 && updated.length === 0) {
|
||||
props.onRemoveBody(draftTag);
|
||||
} else {
|
||||
} else if (prev !== updated) {
|
||||
props.onUpdateBody(draftTag, { ...draftTag, value: updated });
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue