mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-02 10:55:30 -04:00
Trim input tag
This commit is contained in:
parent
b05ed57762
commit
c6ee5409f8
@ -259,7 +259,7 @@ const tagsComponent = () => {
|
||||
newTag: '',
|
||||
inputShown: false,
|
||||
add() {
|
||||
const tag = this.newTag;
|
||||
const tag = this.newTag.trim();
|
||||
this.request(tag, 'PUT', () => {
|
||||
this.tags.push(tag);
|
||||
this.newTag = '';
|
||||
|
Loading…
x
Reference in New Issue
Block a user