From 82451241c97a4a9087c218412a365f559adb2252 Mon Sep 17 00:00:00 2001 From: Nagendra Date: Tue, 18 Apr 2023 12:44:34 +0530 Subject: [PATCH] no account case error handler while creation --- packages/core/src/application/search/Applications.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/core/src/application/search/Applications.tsx b/packages/core/src/application/search/Applications.tsx index fc87a9687eb..07d7cdee4b1 100644 --- a/packages/core/src/application/search/Applications.tsx +++ b/packages/core/src/application/search/Applications.tsx @@ -171,7 +171,9 @@ export class Applications extends React.Component<{}, IApplicationsState> { private fixAccount(application: IApplicationSummary): IApplicationSummary { if (application.accounts) { - application.accounts = application.accounts.split(',').sort().join(', '); + if (!Array.isArray(application.accounts)) { + application.accounts = application.accounts.split(',').sort().join(', '); + } } return application; }