mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-19 09:34:19 +01:00
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:
@@ -771,7 +771,7 @@ fn render_nav_body(
|
||||
|
||||
new_deck_state.clear();
|
||||
get_active_columns_mut(ctx.i18n, ctx.accounts, &mut app.decks_cache)
|
||||
.get_first_router()
|
||||
.get_selected_router()
|
||||
.go_back();
|
||||
}
|
||||
resp
|
||||
@@ -802,7 +802,7 @@ fn render_nav_body(
|
||||
}
|
||||
}
|
||||
get_active_columns_mut(ctx.i18n, ctx.accounts, &mut app.decks_cache)
|
||||
.get_first_router()
|
||||
.get_selected_router()
|
||||
.go_back();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user