Skip to content

Commit

Permalink
Add small fix for edit following account input
Browse files Browse the repository at this point in the history
  • Loading branch information
Gina Contrino committed Jun 18, 2018
1 parent adfd04d commit f23089c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion karma.conf.js
Expand Up @@ -58,7 +58,7 @@ module.exports = function (config) {
'src/components/voteUrlProcessor/index.js',
'src/utils/api/liskService.js',
'src/store/reducers/liskService.js',
'src/store/actions/transactions.js',
'src/actions/transactions.js',
'src/components/errorBoundary/index.js',
],
overrides: {
Expand Down
2 changes: 1 addition & 1 deletion src/components/followedAccounts/dashboard/titleInput.js
Expand Up @@ -20,7 +20,7 @@ class TitleInput extends React.Component {
...props.account,
title: this.state.title.value,
});
} else {
} else if (!props.edit && (!newTitle.length || error)) {
this.setState({ title: { value: oldTitle } });
}
}
Expand Down

0 comments on commit f23089c

Please sign in to comment.