Fix add issue page
This commit is contained in:
parent
e7486a32b1
commit
1c666dc26a
@ -78,7 +78,16 @@ pub fn render(model: &Model) -> Vec<Node<Msg>> {
|
||||
} else {
|
||||
vec![
|
||||
navbar_left_item("Search issues", Icon::Search, None, None),
|
||||
navbar_left_item("Create Issue", Icon::Plus, Some("/add-issue"), None),
|
||||
navbar_left_item(
|
||||
"Create Issue",
|
||||
Icon::Plus,
|
||||
Some("/add-issue"),
|
||||
Some(mouse_ev("click", |ev| {
|
||||
ev.stop_propagation();
|
||||
ev.prevent_default();
|
||||
Msg::ChangePage(Page::AddIssue)
|
||||
})),
|
||||
),
|
||||
]
|
||||
};
|
||||
let go_to_profile = mouse_ev("click", move |ev| {
|
||||
|
Loading…
Reference in New Issue
Block a user