Skip to content

Commit 8468812

Browse files
authored
Fix bug in acknowledge alerts modal to update the table with updated alerts (#1363)
Signed-off-by: Sai Vikhyath Kudhroli <vikhy@amazon.com>
1 parent 2852125 commit 8468812

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

public/pages/Dashboard/containers/DashboardClassic.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,8 @@ export default class DashboardClassic extends Component {
302302

303303
acknowledgeAlerts = async (alerts) => {
304304
const { httpClient, notifications } = this.props;
305-
await Promise.all(acknowledgeAlerts(httpClient, notifications, alerts));
305+
const acknowledgePromises = await acknowledgeAlerts(httpClient, notifications, alerts);
306+
await Promise.all(acknowledgePromises);
306307
};
307308

308309
acknowledgeAlert = async () => {

0 commit comments

Comments
 (0)