fixing eslint errors
Этот коммит содержится в:
@@ -1,6 +1,7 @@
|
||||
// Copyright (c) 2015 Mattermost, Inc. All Rights Reserved.
|
||||
// See License.txt for license information.
|
||||
var UserStore = require('../stores/user_store.jsx');
|
||||
const Utils = require('../utils/utils.jsx');
|
||||
|
||||
export default class Mention extends React.Component {
|
||||
constructor(props) {
|
||||
|
||||
@@ -77,7 +77,7 @@ export default class SearchResultsItem extends React.Component {
|
||||
<div className='post-profile-img__container'>
|
||||
<img
|
||||
className='post-profile-img'
|
||||
src={'/api/v1/users/' + this.props.post.user_id + '/image?time=' + timestamp + '&' + Utils.getSessionIndex()}
|
||||
src={'/api/v1/users/' + this.props.post.user_id + '/image?time=' + timestamp + '&' + utils.getSessionIndex()}
|
||||
height='36'
|
||||
width='36'
|
||||
/>
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
|
||||
var NavbarDropdown = require('./navbar_dropdown.jsx');
|
||||
var UserStore = require('../stores/user_store.jsx');
|
||||
const Utils = require('../utils/utils.jsx');
|
||||
|
||||
export default class SidebarHeader extends React.Component {
|
||||
constructor(props) {
|
||||
|
||||
@@ -73,7 +73,7 @@ export default class UserProfile extends React.Component {
|
||||
key='user-popover-image'
|
||||
/>
|
||||
);
|
||||
|
||||
|
||||
if (!global.window.mm_config.ShowEmailAddress === 'true') {
|
||||
dataContent.push(
|
||||
<div
|
||||
|
||||
@@ -34,7 +34,7 @@ class ErrorStoreClass extends EventEmitter {
|
||||
removeChangeListener(callback) {
|
||||
this.removeListener(CHANGE_EVENT, callback);
|
||||
}
|
||||
|
||||
|
||||
handledError() {
|
||||
BrowserStore.removeItem('last_error');
|
||||
}
|
||||
|
||||
Ссылка в новой задаче
Block a user