feat(mobile): show page back by url search (#9100)

close AF-1911
This commit is contained in:
CatsJuice
2024-12-12 07:14:05 +00:00
parent 84df2a1d16
commit 5dd2dddd74
8 changed files with 75 additions and 15 deletions
@@ -61,9 +61,7 @@ export const useJournalRouteHelper = () => {
const openJournal = useCallback(
(maybeDate: MaybeDate, newTab?: boolean) => {
const page = getJournalByDate(maybeDate);
workbench.openDoc(page.id, {
at: newTab ? 'new-tab' : 'active',
});
workbench.openDoc(page.id, { at: newTab ? 'new-tab' : 'active' });
track.$.navigationPanel.journal.navigate({
to: 'journal',
});