Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
EOLE
Zéphir
WebUI
Commits
a62795c2
Commit
a62795c2
authored
Dec 10, 2018
by
elebourgeois
Browse files
since searchBar is not fonctional yet, no need function handleFilterChange
parent
192bcb72
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pages/ServersPage/ServersIndex.js
View file @
a62795c2
...
...
@@ -14,6 +14,7 @@ import {
}
from
'
../../components
'
;
import
SearchBar
from
'
material-ui-search-bar
'
;
import
{
Search
as
SearchIcon
,
Close
as
CloseIcon
,
...
...
@@ -68,9 +69,9 @@ class ServersIndex extends React.Component {
setTimeout
(()
=>
window
.
dispatchEvent
(
new
Event
(
'
resize
'
)),
200
);
};
/
*
handleFilterChange = filter => {
// this.props.onFilterChange(filter);
};
*/
/
/
handleFilterChange = filter => {
//
this.props.onFilterChange(filter);
//
};
handleTabChange
=
(
e
,
activeTab
)
=>
{
this
.
props
.
dispatch
(
uiActions
.
changeServersIndexTab
(
activeTab
));
...
...
@@ -148,7 +149,7 @@ class ServersIndex extends React.Component {
ServersIndex
.
propTypes
=
{
classes
:
PropTypes
.
object
.
isRequired
,
theme
:
PropTypes
.
object
.
isRequired
,
onFilterChange
:
PropTypes
.
func
.
isRequired
,
//
onFilterChange: PropTypes.func.isRequired,
selectedServer
:
PropTypes
.
string
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment