Просмотр исходного кода

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

They were sometimes being duplicated.
Billy Vong 4 лет назад
Родитель
Сommit
7b14bffd6f
1 измененных файлов с 2 добавлено и 0 удалено
  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',
     type: 'warning',
     neverExpire: true,
     neverExpire: true,
+    noDuplicates: true,
   });
   });
 }
 }
 
 
@@ -46,5 +47,6 @@ export function displayExperimentalSpaAlert() {
     ),
     ),
     type: 'warning',
     type: 'warning',
     neverExpire: true,
     neverExpire: true,
+    noDuplicates: true,
   });
   });
 }
 }