We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dc1cbdb commit e153325Copy full SHA for e153325
report-react/src/SavedReport.tsx
@@ -329,7 +329,7 @@ const filteredReport = {
329
while (tgt && tgt.nodeName.toLowerCase() !== "button") {
330
tgt = tgt.parentElement;
331
}
332
- if (tgt && tgt.getAttribute("class") === "cds--modal-close") {
+ if (tgt && tgt.getAttribute("class")?.includes("cds--modal-close")) {
333
this.clearItem();
334
evt.preventDefault();
335
return false;
0 commit comments