Fix select thread menu not working with multiple running clients

This commit is contained in:
Remco Smits
2025-02-26 16:30:40 +01:00
parent 0a59016961
commit cb2fda0f3f

View File

@@ -239,7 +239,7 @@ impl Render for RunningState {
.child(
h_flex().p_1().mx_2().w_3_4().justify_end().child(
DropdownMenu::new(
"thread-list",
("thread-list", self.session_id.0),
self.thread
.as_ref()
.map(|(_, name)| format!("Thread {name}"))