reformat code
This commit is contained in:
parent
fe1a00d1af
commit
d8aee9e5b7
@ -10,8 +10,8 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.searchinput {
|
.searchinput {
|
||||||
width: 120px;
|
|
||||||
float: left;
|
float: left;
|
||||||
|
width: 120px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.searchbar {
|
.searchbar {
|
||||||
|
@ -120,14 +120,6 @@ class AddActorPopup extends React.Component<props, state> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* filter the actor array for search matches
|
|
||||||
* @param actor
|
|
||||||
*/
|
|
||||||
private filterSearch(actor: ActorType): boolean {
|
|
||||||
return actor.name.toLowerCase().includes(this.state.filter.toLowerCase());
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* event handling for ActorTile Click
|
* event handling for ActorTile Click
|
||||||
*/
|
*/
|
||||||
@ -155,6 +147,14 @@ class AddActorPopup extends React.Component<props, state> {
|
|||||||
this.setState({actors: result});
|
this.setState({actors: result});
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* filter the actor array for search matches
|
||||||
|
* @param actor
|
||||||
|
*/
|
||||||
|
private filterSearch(actor: ActorType): boolean {
|
||||||
|
return actor.name.toLowerCase().includes(this.state.filter.toLowerCase());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export default AddActorPopup;
|
export default AddActorPopup;
|
||||||
|
@ -1,5 +1,3 @@
|
|||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* type accepted by Tag component
|
* type accepted by Tag component
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user