Skip to content

Commit 55c7c59

Browse files
committed
fix setup
1 parent 6d105fa commit 55c7c59

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

packages/plugins/plugin-audit/src/audit-plugin.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ export class AuditPlugin implements Plugin {
3333
setupNav.contribute({
3434
areaId: 'area_system',
3535
items: [
36-
{ id: 'nav_audit_logs', type: 'object', label: 'Audit Logs', objectName: 'audit_log', icon: 'scroll-text', order: 10 },
36+
{ id: 'nav_audit_logs', type: 'object', label: 'Audit Logs', objectName: 'sys__audit_log', icon: 'scroll-text', order: 10 },
3737
],
3838
});
3939
ctx.logger.info('Audit navigation items contributed to Setup App');

packages/plugins/plugin-auth/src/auth-plugin.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -119,11 +119,11 @@ export class AuthPlugin implements Plugin {
119119
setupNav.contribute({
120120
areaId: 'area_administration',
121121
items: [
122-
{ id: 'nav_users', type: 'object', label: 'Users', objectName: 'user', icon: 'users', order: 10 },
123-
{ id: 'nav_organizations', type: 'object', label: 'Organizations', objectName: 'organization', icon: 'building-2', order: 20 },
124-
{ id: 'nav_teams', type: 'object', label: 'Teams', objectName: 'team', icon: 'users-round', order: 30 },
125-
{ id: 'nav_api_keys', type: 'object', label: 'API Keys', objectName: 'api_key', icon: 'key', order: 40 },
126-
{ id: 'nav_sessions', type: 'object', label: 'Sessions', objectName: 'session', icon: 'monitor', order: 50 },
122+
{ id: 'nav_users', type: 'object', label: 'Users', objectName: 'sys__user', icon: 'users', order: 10 },
123+
{ id: 'nav_organizations', type: 'object', label: 'Organizations', objectName: 'sys__organization', icon: 'building-2', order: 20 },
124+
{ id: 'nav_teams', type: 'object', label: 'Teams', objectName: 'sys__team', icon: 'users-round', order: 30 },
125+
{ id: 'nav_api_keys', type: 'object', label: 'API Keys', objectName: 'sys__api_key', icon: 'key', order: 40 },
126+
{ id: 'nav_sessions', type: 'object', label: 'Sessions', objectName: 'sys__session', icon: 'monitor', order: 50 },
127127
],
128128
});
129129
ctx.logger.info('Auth navigation items contributed to Setup App');

packages/plugins/plugin-security/src/security-plugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ export class SecurityPlugin implements Plugin {
5555
setupNav.contribute({
5656
areaId: 'area_administration',
5757
items: [
58-
{ id: 'nav_roles', type: 'object', label: 'Roles', objectName: 'role', icon: 'shield-check', order: 60 },
59-
{ id: 'nav_permission_sets', type: 'object', label: 'Permission Sets', objectName: 'permission_set', icon: 'lock', order: 70 },
58+
{ id: 'nav_roles', type: 'object', label: 'Roles', objectName: 'sys__role', icon: 'shield-check', order: 60 },
59+
{ id: 'nav_permission_sets', type: 'object', label: 'Permission Sets', objectName: 'sys__permission_set', icon: 'lock', order: 70 },
6060
],
6161
});
6262
ctx.logger.info('Security navigation items contributed to Setup App');

packages/services/service-ai/src/plugin.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -231,8 +231,8 @@ export class AIServicePlugin implements Plugin {
231231
setupNav.contribute({
232232
areaId: 'area_ai',
233233
items: [
234-
{ id: 'nav_ai_conversations', type: 'object', label: 'Conversations', objectName: 'conversations', icon: 'message-square', order: 10 },
235-
{ id: 'nav_ai_messages', type: 'object', label: 'Messages', objectName: 'messages', icon: 'messages-square', order: 20 },
234+
{ id: 'nav_ai_conversations', type: 'object', label: 'Conversations', objectName: 'ai__conversations', icon: 'message-square', order: 10 },
235+
{ id: 'nav_ai_messages', type: 'object', label: 'Messages', objectName: 'ai__messages', icon: 'messages-square', order: 20 },
236236
],
237237
});
238238
ctx.logger.info('[AI] Navigation items contributed to Setup App');

0 commit comments

Comments
 (0)