This repository was archived by the owner on Nov 1, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed
containers/CommunitiesBanner Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ import {
1414 OperationIconChart ,
1515} from './styles/common_banner'
1616
17- import * as logic from './logic'
17+ import { onSearch , onAdd } from './logic'
1818
1919const IndexBanner = ( { filteredCount, totalCount } ) => (
2020 < BannerContentWrapper >
@@ -38,12 +38,12 @@ const IndexBanner = ({ filteredCount, totalCount }) => (
3838 </ FilterTags >
3939 </ OperationItem >
4040 < OperationDivider />
41- < OperationItem onClick = { logic . onSearch } >
41+ < OperationItem onClick = { onSearch } >
4242 < OperationIconChart src = { `${ ICON_CMD } /search2.svg` } />
4343 搜索
4444 </ OperationItem >
4545 < OperationDivider />
46- < OperationItem onClick = { logic . onAdd . bind ( this , 'communities' ) } >
46+ < OperationItem onClick = { onAdd . bind ( this , 'communities' ) } >
4747 < OperationIconChart src = { `${ ICON_CMD } /plus.svg` } />
4848 添加
4949 </ OperationItem >
Original file line number Diff line number Diff line change @@ -41,6 +41,10 @@ export function loadJobs() {
4141export const loadCategories = ( ) =>
4242 sr71$ . query ( S . pagedCategories , { filter : { } } )
4343
44+ export const onSearch = ( ) => {
45+ log ( 'TODO: onSearch' )
46+ }
47+
4448export function onAdd ( thread ) {
4549 switch ( thread ) {
4650 case 'tags' : {
You can’t perform that action at this time.
0 commit comments