Skip to content

inventory_inline_editing#128

Open
Djnt wants to merge 1 commit into
masterfrom
inline_editing
Open

inventory_inline_editing#128
Djnt wants to merge 1 commit into
masterfrom
inline_editing

Conversation

@Djnt

@Djnt Djnt commented May 11, 2018

Copy link
Copy Markdown
Contributor

No description provided.

})
)


Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do you need three blank lines here?

Comment thread client/src/actions/auth.js Outdated
saveAuthToken(data);
dispatch(push(redirectTo));
new Toaster(dispatch).success('Login successfully');
window.location.href = '/registers';

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

щось мені підказує все має працювати без релоадів.

let totalCosts = this.state.costs
this.props.counterparties.forEach((item, key) => {
if(item.type === "Client" && item.id === id) {
totalRevenue = this.state.revenue - this.state.counterUsers[id] + +value

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

що це за конструкція така + +value?

@Sany18 Sany18 Jan 8, 2019

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

це аналог Number(value), приведення типу

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants