@posiwise/shared-components 0.0.200 → 0.0.202

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2677,7 +2677,9 @@ const buildActivateDeps = (deps) => ({
2677
2677
  // edit the question before committing to it.
2678
2678
  askAi: query => deps.sidebar.loadContentWithData('posiwise-brain', { draft: query }),
2679
2679
  openEntry: item => !!item.entry && deps.navIndex.open(item.entry),
2680
- navigate: path => void deps.router.navigateByUrl(path),
2680
+ navigate: path => {
2681
+ deps.router.navigateByUrl(path);
2682
+ },
2681
2683
  copyLink: () => {
2682
2684
  const clipboard = deps.clipboard ?? globalThis.navigator?.clipboard;
2683
2685
  if (!clipboard) {
@@ -2690,7 +2692,9 @@ const buildActivateDeps = (deps) => ({
2690
2692
  .catch(() => deps.notify?.error(deps.translate('CommandPalette.Action.CopyFailed')));
2691
2693
  },
2692
2694
  // The same route the profile menu uses; it owns the whole teardown.
2693
- logOut: () => void deps.router.navigateByUrl('/logout')
2695
+ logOut: () => {
2696
+ deps.router.navigateByUrl('/logout');
2697
+ }
2694
2698
  });
2695
2699
 
2696
2700
  /**
@@ -2766,7 +2770,7 @@ const recentItems = (entries) => (entries ?? []).slice(0, MAX_PER_GROUP).map(ent
2766
2770
  kind: 'page',
2767
2771
  label: entry.title,
2768
2772
  detail: entry.section,
2769
- icon: entry.icon || 'ft-clock',
2773
+ icon: entry.icon || 'fas fa-clock-rotate-left',
2770
2774
  path: entry.path,
2771
2775
  entry
2772
2776
  }));