Minor sync for 2.0
This commit is contained in:
@@ -1687,7 +1687,7 @@ const AngularWorkflow = (defaultprops) => {
|
||||
if (filter === undefined || filter === null || filter.toUpperCase() === "ALL") {
|
||||
|
||||
// Check for
|
||||
if (executionFilter !== undefined && executionFilter !== null && executionFilter.length > 0) {
|
||||
if (executionFilter !== undefined && executionFilter !== null && executionFilter.length > 0 && filter !== "ALL") {
|
||||
filter = executionFilter
|
||||
} else {
|
||||
filter = "ALL"
|
||||
|
||||
@@ -2906,7 +2906,7 @@ const AppExplorer = (props) => {
|
||||
const deduplicateByName = (array) => {
|
||||
const uniqueNames = {};
|
||||
return array.filter(item => {
|
||||
if (!item.hasOwnProperty('name') || !item.name.length) {
|
||||
if (!item?.hasOwnProperty('name') || !item?.name?.length) {
|
||||
return true
|
||||
}
|
||||
if (!uniqueNames[item.name]) {
|
||||
|
||||
Reference in New Issue
Block a user