router: fix router selection
Many times we get the router selection wrong. This fixes that Changelog-Fixed: Fix some routing issues when routing from the Chrome Fixes: https://github.com/damus-io/notedeck/issues/1024 Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -35,7 +35,7 @@ impl DecksCache {
|
||||
accounts: ¬edeck::Accounts,
|
||||
) -> Option<&mut Column> {
|
||||
self.active_columns_mut(i18n, accounts)
|
||||
.and_then(|ad| ad.selected_mut())
|
||||
.map(|ad| ad.selected_mut())
|
||||
}
|
||||
|
||||
pub fn selected_column(&self, accounts: ¬edeck::Accounts) -> Option<&Column> {
|
||||
|
||||
Reference in New Issue
Block a user