Fix Lint problem

pull/1297/head
Konstantin Ullrich 5 years ago
parent e800e5509b
commit fde6723584

@ -597,7 +597,7 @@ export class SettingsView extends React.Component<SettingsViewProps, State> {
const model = window.getConversations();
for (const currentModel of model.models) {
let displayName = 'User (...' + currentModel.id.substr(-6) + ')';
let displayName = `User (...${currentModel.id.toString().substr(-6)})`;
if (currentModel.attributes.profile && currentModel.attributes.profile.displayName) {
displayName = currentModel.attributes.profile.displayName

Loading…
Cancel
Save