| 1 |
<div class="user-messages__item${ isNew ? ' new' : '' }"> |
| 2 |
<div class="user-messages__photo" style="background-image: url(${ data.otherPersonAvatar })"> |
| 3 |
axios.get('user_id=${ userId }').then(({ data }) => { |
| 4 |
let otherPerson = data.otherPerson; |
| 5 |
const item = messageView(message, '0, 1, 2'.includes(index), otherPerson); |
| 6 |
container.scrollTop(10000); |
| 7 |
const loadMessages = (container) => {}; |
| 8 |
import lib from 'libSource'; |
| 9 |
<Link className="b-agencies__item" to={ url } target="_blank" rel="nofollow noopener" onClick={ this.sdaSend }> |
| 10 |
{ !error && <LazyBg className="b-agencies__logo" src={ logo } onError={ this.onError }>} |
| 11 |
{ pluralizeTemplate(rating, 'сделка', 'сделки', 'сделок') } |
| 12 |
background-image: url('icon_no-logo.svg'); |
| 13 |
background-image: none; |
| 14 |
width: 46px; |
| 15 |
border-radius: 5px; |
| 16 |
background-color: @black; |
| 17 |
font-size: 18px; |
| 18 |
display: flex; |
| 19 |
align-items: center; |
| 20 |
justify-content: center; |
| 21 |
color: @white; |
| 22 |
font-weight: 500; |
| 23 |
<div className={ 'benefits__item__icon benefits__item__icon--${ id }' } > |
| 24 |
<img className="no-reports__img no-reports__img--desktop" src={ imgReportDesktop } alt="" > |
| 25 |
import MortgageCalculator from 'components-MortgageCalculator'; |
| 26 |
import { getActiveTab } from 'redux-selectors-ui.selector'; |
| 27 |
import { getGuid } from 'redux-selectors-region.selector'; |
| 28 |
import { getIsUserAuth } from 'redux-selectors-user.selector'; |
| 29 |
.then((rates) => dispatch({ |
| 30 |
fz214: '', |
| 31 |
with_photo: '1', |
| 32 |
ready_year__lte: '', |
| 33 |
ready_quarter__lte: '', |
| 34 |
mortgage_subsidy: '', |
| 35 |
online_registration_discount: '', |
| 36 |
sort: 'qi', |
| 37 |
sort_dir: 'desc', |
| 38 |
agent_id: '', |
| 39 |
agency_id: '', |
| 40 |
discounts: '', |
| 41 |
developer_id: '', |
| 42 |
holding_id: '', |
| 43 |
online_approve: '', |
| 44 |
export const clearListCount = () => (dispatch) => { |
| 45 |
export const searchCountFetch = ({ search_type: querySearchType = SEARCH_TYPE_OFFERS, ...query }) => (dispatch, getState) => { |
| 46 |
cancelToken: new axios.CancelToken((callback) => { |
| 47 |
export const searchFetch = ({ search_type: querySearchType = SEARCH_TYPE_OFFERS, ...query }) => (dispatch, getState) => { |
| 48 |
.then(({ data: { result, pagination, pagination: { total = 0 } = {} } }) => {browserHistory.push(getUrl(URL.SEARCH, { query })); |
| 49 |
export const searchSetUrl = (query) => { |
| 50 |
export default (state = initialState, action) => { |
| 51 |
sort === searchParams.sort && sortDir === searchParams.sort_dir |
| 52 |
export const clearListCount = () => (dispatch) => { |
| 53 |
export function resendSms(phone) { |
| 54 |
export function checkCASId() { |
| 55 |
return async (dispatch) => { |
| 56 |
export function userAuth(username, password) { |
| 57 |
return async (dispatch, getState) => { |
| 58 |
if (error && error.response && error.response.status === 403) { |
| 59 |
message = error.response.data.errors.length |
| 60 |
? error.response.data.errors.userMessage |
Комментарии