Browse Source

fix(ui): Deploy preview alert messages should be unique (#20753)

They were sometimes being duplicated.
Billy Vong 4 years ago
parent
commit
7b14bffd6f
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/sentry/static/sentry/app/actionCreators/deployPreview.tsx

+ 2 - 0
src/sentry/static/sentry/app/actionCreators/deployPreview.tsx

@@ -31,6 +31,7 @@ export function displayDeployPreviewAlert() {
     ),
     type: 'warning',
     neverExpire: true,
+    noDuplicates: true,
   });
 }
 
@@ -46,5 +47,6 @@ export function displayExperimentalSpaAlert() {
     ),
     type: 'warning',
     neverExpire: true,
+    noDuplicates: true,
   });
 }