diff --git a/karma.conf.js b/karma.conf.js index 4c1d4a4a80..d0563c19db 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -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: { diff --git a/src/components/followedAccounts/dashboard/titleInput.js b/src/components/followedAccounts/dashboard/titleInput.js index 04756d7687..84fb78829b 100644 --- a/src/components/followedAccounts/dashboard/titleInput.js +++ b/src/components/followedAccounts/dashboard/titleInput.js @@ -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 } }); } }