Skip to content

Commit

Permalink
Merge pull request #136 from exadel-inc/develop
Browse files Browse the repository at this point in the history
release 4.0.0
  • Loading branch information
AlKaliada authored May 8, 2024
2 parents 15c28c9 + e2ac8b7 commit f476c1b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,6 @@ private ResponseWrapper<PackageInfo> processDeleteChildren(ResourceResolver reso
}

private List<String> parseStringToList(String payload) {
return Arrays.stream(payload.split(",")).map(String::trim).collect(Collectors.toList());
return Arrays.stream(payload.split("[\\s,]")).filter(StringUtils::isNoneBlank).map(String::trim).collect(Collectors.toList());
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@
name: 'foundation.prompt.open',
handler: function (form, config, data, textStatus, xhr) {
if (data.status == "ERROR" || data.status == "WARNING") {
const dialog = openLogsDialog(data.logs);
const dialog = openLogsDialog(data.logs, 'WARNING', 'Close');
dialog.on('coral-overlay:close', function(event) {
if (data.status == "WARNING") {
window.location.reload();
Expand Down

0 comments on commit f476c1b

Please sign in to comment.