Skip to content

Commit

Permalink
Ignore default schedule group
Browse files Browse the repository at this point in the history
  • Loading branch information
iann0036 committed Mar 4, 2023
1 parent 8cb6a6c commit 68b543b
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions js/services/eventbridge.js
Original file line number Diff line number Diff line change
Expand Up @@ -835,13 +835,15 @@ async function updateDatatableApplicationIntegrationEventBridge() {
return sdkcall("Scheduler", "getScheduleGroup", {
Name: schedulegroup.Name
}, true).then(async (data) => {
$('#section-applicationintegration-eventbridge-schedulegroups-datatable').deferredBootstrapTable('append', [{
f2id: data.Arn,
f2type: 'eventbridge.schedulegroup',
f2data: data,
f2region: region,
name: data.Name
}]);
if (data.Name != "default") {
$('#section-applicationintegration-eventbridge-schedulegroups-datatable').deferredBootstrapTable('append', [{
f2id: data.Arn,
f2type: 'eventbridge.schedulegroup',
f2data: data,
f2region: region,
name: data.Name
}]);
}
});
}));
}).catch(() => { });
Expand Down

0 comments on commit 68b543b

Please sign in to comment.