daydream

A small matrix web client written in rust
git clone git://archive.git.mtrnord.blog/daydream-mx/daydream.git
Log | Files | Refs | README | LICENSE

commit e86de62fa427004e847c9bbf21fb9b701925a23a
parent 7728cb5e8f9471191613a09d8283a85c095d4ea5
Author: Marcel <mtrnord1@gmail.com>
Date:   Thu, 28 May 2020 16:01:38 +0200

Fix yew-router error

Took 5 minutes

Diffstat:
Msrc/app/components/room_list.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app/components/room_list.rs b/src/app/components/room_list.rs @@ -131,7 +131,7 @@ impl RoomList { let room_id = room.clone().id.to_string(); html! { <li> - <a href="#" onclick=self.link.callback(move |e: MouseEvent| Msg::ChangeRoom(room_id.clone()))> + <a onclick=self.link.callback(move |e: MouseEvent| Msg::ChangeRoom(room_id.clone()))> {room.name.clone()} { if room.unread_notifications.is_some() && room.unread_notifications.unwrap() != UInt::from(0u32) {