Skip to content

Commit 223ee7b

Browse files
Implement widgetUrl in admin lib #10697
1 parent 6e47543 commit 223ee7b

File tree

1 file changed

+1
-0
lines changed
  • modules/lib/lib-admin/src/main/resources/lib/xp

1 file changed

+1
-0
lines changed

modules/lib/lib-admin/src/main/resources/lib/xp/admin.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,7 @@ export function widgetUrl(params: WidgetUrlParams): string {
192192
return portal.apiUrl({
193193
application: 'admin',
194194
api: `widget/${params.application}/${params.widget}`,
195+
type: params.type || 'server',
195196
params: params.params || {},
196197
});
197198
}

0 commit comments

Comments
 (0)