@posiwise/shared-components 0.0.201 → 0.0.203
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.
|
@@ -1415,6 +1415,9 @@ const SUBSCRIPTION_SCOPED_SEGMENTS = new Set([
|
|
|
1415
1415
|
'hyperdashboard',
|
|
1416
1416
|
'paas',
|
|
1417
1417
|
'crm',
|
|
1418
|
+
// CloudOlive's product pages (cloudolive-frontend dashboard-routing.module.ts `:slug/cloudolive`);
|
|
1419
|
+
// no unscoped `/cloudolive` route exists, so prefixing cannot break a valid path.
|
|
1420
|
+
'cloudolive',
|
|
1418
1421
|
'enterprise',
|
|
1419
1422
|
'faq',
|
|
1420
1423
|
'documentation'
|
|
@@ -2677,7 +2680,9 @@ const buildActivateDeps = (deps) => ({
|
|
|
2677
2680
|
// edit the question before committing to it.
|
|
2678
2681
|
askAi: query => deps.sidebar.loadContentWithData('posiwise-brain', { draft: query }),
|
|
2679
2682
|
openEntry: item => !!item.entry && deps.navIndex.open(item.entry),
|
|
2680
|
-
navigate: path =>
|
|
2683
|
+
navigate: path => {
|
|
2684
|
+
deps.router.navigateByUrl(path);
|
|
2685
|
+
},
|
|
2681
2686
|
copyLink: () => {
|
|
2682
2687
|
const clipboard = deps.clipboard ?? globalThis.navigator?.clipboard;
|
|
2683
2688
|
if (!clipboard) {
|
|
@@ -2690,7 +2695,9 @@ const buildActivateDeps = (deps) => ({
|
|
|
2690
2695
|
.catch(() => deps.notify?.error(deps.translate('CommandPalette.Action.CopyFailed')));
|
|
2691
2696
|
},
|
|
2692
2697
|
// The same route the profile menu uses; it owns the whole teardown.
|
|
2693
|
-
logOut: () =>
|
|
2698
|
+
logOut: () => {
|
|
2699
|
+
deps.router.navigateByUrl('/logout');
|
|
2700
|
+
}
|
|
2694
2701
|
});
|
|
2695
2702
|
|
|
2696
2703
|
/**
|