Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • 19-on-proposals-page-make-vote-count-clickable-and-have-it-show-modal-dialog-with-individual-votes
  • 42-take-into-account-badactor-list-and-disallow-transfers-2
  • dependabot/npm_and_yarn/handlebars-4.5.3
  • develop
  • master
  • mirrornet
  • refactor-proposals-ui
  • walletCleanse
  • witnesses-page-fixes
9 results

Target

Select target project
  • hive/wallet
1 result
Select Git revision
  • 19-on-proposals-page-make-vote-count-clickable-and-have-it-show-modal-dialog-with-individual-votes
  • 42-take-into-account-badactor-list-and-disallow-transfers-2
  • dependabot/npm_and_yarn/handlebars-4.5.3
  • develop
  • master
  • mirrornet
  • refactor-proposals-ui
  • walletCleanse
  • witnesses-page-fixes
9 results
Show changes
Commits on Source (2)
......@@ -8,6 +8,7 @@ class Filters extends React.Component {
showFilters: false,
};
}
render() {
const {
handleIncoming,
......@@ -20,13 +21,16 @@ class Filters extends React.Component {
} = this.props;
const handleShowFilters = () => {
this.setState({ showFilters: !this.state.showFilters });
this.setState((prevState) => ({
showFilters: !prevState.showFilters,
}));
};
return (
<div className="row">
<div className="column small-12">
<button
type="button"
onClick={handleShowFilters}
className={
this.state.showFilters === true
......@@ -79,10 +83,10 @@ class Filters extends React.Component {
<input
onChange={handleFromUser}
type="checkbox"
id="outgoing"
name="outgoing"
id="from-user"
name="from-user"
/>
<label htmlFor="outgoing">
<label htmlFor="from-user">
Received from
</label>
</div>
......@@ -90,10 +94,10 @@ class Filters extends React.Component {
<input
onChange={handleToUser}
type="checkbox"
id="outgoing"
name="outgoing"
id="to-user"
name="to-user"
/>
<label htmlFor="outgoing">
<label htmlFor="to-user">
Transfer to
</label>
</div>
......