diff --git a/src/components/elements/messages/Message/index.jsx b/src/components/elements/messages/Message/index.jsx index 37c1d8a7..d97f34c5 100644 --- a/src/components/elements/messages/Message/index.jsx +++ b/src/components/elements/messages/Message/index.jsx @@ -130,12 +130,14 @@ class Message extends React.Component { if (startsSequence) { author =
{ - e.preventDefault() - e.stopPropagation() - this.dropdown.current.click() - }}> - {from} + })}> + { + e.preventDefault() + e.stopPropagation() + this.dropdown.current.click() + }}> + {from} +
avatar = } - {(username && showPendings) ? : null} } diff --git a/src/components/modules/groups/MyGroups.jsx b/src/components/modules/groups/MyGroups.jsx index 9de07e97..a691b301 100644 --- a/src/components/modules/groups/MyGroups.jsx +++ b/src/components/modules/groups/MyGroups.jsx @@ -265,7 +265,7 @@ class MyGroups extends React.Component { {button} {groups} {hasGroups ?
: null} - {username ? : null} } diff --git a/src/utils/ServerApiClient.js b/src/utils/ServerApiClient.js index 8d9fff81..7e8d04c8 100644 --- a/src/utils/ServerApiClient.js +++ b/src/utils/ServerApiClient.js @@ -3,7 +3,7 @@ import { fetchEx } from 'golos-lib-js/lib/utils' export function getHost() { const { location, } = window; if (process.env.NODE_ENV === 'development') { - return location.protocol + '//'+ location.hostname + ':8080'; + return location.protocol + '//'+ location.hostname + ':8088'; } return location.origin; }