Skip to content

Commit

Permalink
fix(Upload): Fix upload button in chatbar (#1501)
Browse files Browse the repository at this point in the history
  • Loading branch information
lgmarchi authored Nov 14, 2023
1 parent f14407a commit 7cdd46e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ui/src/layouts/chats/presentation/chatbar/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,8 @@ pub fn get_chatbar<'a>(cx: &'a Scoped<'a, ChatProps>) -> Element<'a> {
let script = SHOW_CONTEXT
.replace("UUID", upload_button_menu_uuid)
.replace("$PAGE_X", &mouse_data.page_coordinates().x.to_string())
.replace("$PAGE_Y", &mouse_data.page_coordinates().y.to_string());
.replace("$PAGE_Y", &mouse_data.page_coordinates().y.to_string())
.replace("$SELF", "false");
update_script.set(script);
},
tooltip: cx.render(rsx!(
Expand Down

0 comments on commit 7cdd46e

Please sign in to comment.