about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/account_timeline/components
diff options
context:
space:
mode:
authorpluralcafe-docker <git@plural.cafe>2018-11-27 00:54:40 +0000
committerpluralcafe-docker <git@plural.cafe>2018-11-27 00:54:40 +0000
commit384a602fd4117a73338542c59985f54acf5fb3f8 (patch)
tree2885959ad124784985daa7709cd645a5a8802a07 /app/javascript/flavours/glitch/features/account_timeline/components
parent72444f73ef4e04118f9c66b965c3c903cff8ef37 (diff)
parent6b6e633c095485f95350c4308a942192e5fe8806 (diff)
Merge branch 'glitch'
Diffstat (limited to 'app/javascript/flavours/glitch/features/account_timeline/components')
-rw-r--r--app/javascript/flavours/glitch/features/account_timeline/components/header.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/javascript/flavours/glitch/features/account_timeline/components/header.js b/app/javascript/flavours/glitch/features/account_timeline/components/header.js
index 89b9be92b..8dc0be93e 100644
--- a/app/javascript/flavours/glitch/features/account_timeline/components/header.js
+++ b/app/javascript/flavours/glitch/features/account_timeline/components/header.js
@@ -23,6 +23,7 @@ export default class Header extends ImmutablePureComponent {
     onBlockDomain: PropTypes.func.isRequired,
     onUnblockDomain: PropTypes.func.isRequired,
     onEndorseToggle: PropTypes.func.isRequired,
+    onAddToList: PropTypes.func.isRequired,
     hideTabs: PropTypes.bool,
   };
 
@@ -78,6 +79,10 @@ export default class Header extends ImmutablePureComponent {
     this.props.onEndorseToggle(this.props.account);
   }
 
+  handleAddToList = () => {
+    this.props.onAddToList(this.props.account);
+  }
+
   render () {
     const { account, hideTabs } = this.props;
 
@@ -106,6 +111,7 @@ export default class Header extends ImmutablePureComponent {
           onBlockDomain={this.handleBlockDomain}
           onUnblockDomain={this.handleUnblockDomain}
           onEndorseToggle={this.handleEndorseToggle}
+          onAddToList={this.handleAddToList}
         />
 
         {!hideTabs && (