reload session list if alias change

This commit is contained in:
rustdesk
2022-01-02 13:56:47 +08:00
parent 40730cbbae
commit 241623c406
2 changed files with 28 additions and 42 deletions

View File

@@ -207,9 +207,7 @@ class SessionList: Reactor.Component {
if (name != old_name) {
handler.set_peer_option(id, "alias", name);
}
try {
self.select('#' + id).select('#alias').text = name || id;
} catch (e) {}
app.update();
});
}
}