feat: show the full work history and load every lead stage on the board
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -132,7 +132,9 @@ const hubVisible = computed(() => {
|
||||
for (const hub of NAV_HUBS) {
|
||||
map[hub.key] = hub.cards.some(
|
||||
(card) =>
|
||||
(!card.admin || canSettings.value) && moduleAllowed(card.module),
|
||||
(!card.ownerOnly || auth.user?.role === 'owner') &&
|
||||
(!card.admin || canSettings.value) &&
|
||||
moduleAllowed(card.module),
|
||||
);
|
||||
}
|
||||
return map;
|
||||
@@ -144,7 +146,9 @@ const openHub = computed<NavHubDef | null>(() => {
|
||||
if (!hub) return null;
|
||||
const cards = hub.cards.filter(
|
||||
(card) =>
|
||||
(!card.admin || canSettings.value) && moduleAllowed(card.module),
|
||||
(!card.ownerOnly || auth.user?.role === 'owner') &&
|
||||
(!card.admin || canSettings.value) &&
|
||||
moduleAllowed(card.module),
|
||||
);
|
||||
if (
|
||||
hub.key === 'customers' &&
|
||||
|
||||
Reference in New Issue
Block a user