Skip to content

Commit

Permalink
no account case error handler while creation
Browse files Browse the repository at this point in the history
  • Loading branch information
NagendraOpsmx authored and yugaa22 committed Jun 7, 2023
1 parent 7721483 commit 8245124
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/core/src/application/search/Applications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 8245124

Please sign in to comment.