Fix test filter on board
This commit is contained in:
parent
80441feb78
commit
5ccf93faab
@ -170,17 +170,18 @@ fn header() -> Node<Msg> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn project_board_filters(model: &Model) -> Node<Msg> {
|
fn project_board_filters(model: &Model) -> Node<Msg> {
|
||||||
let search_input = StyledInput::build(FieldId::TextFilterBoard)
|
|
||||||
.icon(Icon::Search)
|
|
||||||
.valid(true)
|
|
||||||
.build()
|
|
||||||
.into_node();
|
|
||||||
|
|
||||||
let project_page = match &model.page_content {
|
let project_page = match &model.page_content {
|
||||||
PageContent::Project(page_content) => page_content,
|
PageContent::Project(page_content) => page_content,
|
||||||
_ => return empty![],
|
_ => return empty![],
|
||||||
};
|
};
|
||||||
|
|
||||||
|
let search_input = StyledInput::build(FieldId::TextFilterBoard)
|
||||||
|
.icon(Icon::Search)
|
||||||
|
.valid(true)
|
||||||
|
.value(project_page.text_filter.as_str())
|
||||||
|
.build()
|
||||||
|
.into_node();
|
||||||
|
|
||||||
let only_my = StyledButton::build()
|
let only_my = StyledButton::build()
|
||||||
.empty()
|
.empty()
|
||||||
.active(project_page.only_my_filter)
|
.active(project_page.only_my_filter)
|
||||||
|
Loading…
Reference in New Issue
Block a user