diff --git a/src/views/Home/AlertsTable/AlertActions/i18n.json b/src/views/Home/AlertsTable/AlertActions/i18n.json
index 231b6a33..c11d5de1 100644
--- a/src/views/Home/AlertsTable/AlertActions/i18n.json
+++ b/src/views/Home/AlertsTable/AlertActions/i18n.json
@@ -1,6 +1,7 @@
{
"namespace": "alertActions",
"strings": {
- "alertTableViewDetailsTitle":"View Details"
+ "alertTableViewDetailsTitle": "View Details",
+ "alertCopyAlertURL": "Copy alert URL"
}
}
\ No newline at end of file
diff --git a/src/views/Home/AlertsTable/AlertActions/index.tsx b/src/views/Home/AlertsTable/AlertActions/index.tsx
index aa20e83a..950665dc 100644
--- a/src/views/Home/AlertsTable/AlertActions/index.tsx
+++ b/src/views/Home/AlertsTable/AlertActions/index.tsx
@@ -45,7 +45,7 @@ function AlertActions(props: Props) {
name={undefined}
onClick={handleClick}
variant="tertiary"
- title="Copy alert URL"
+ title={strings.alertCopyAlertURL}
>
diff --git a/src/views/NewSubscriptionModal/index.tsx b/src/views/NewSubscriptionModal/index.tsx
index 9565d71f..3af7e941 100644
--- a/src/views/NewSubscriptionModal/index.tsx
+++ b/src/views/NewSubscriptionModal/index.tsx
@@ -288,6 +288,7 @@ function NewSubscriptionModal(props: Props) {
}), [subscription]);
const {
+ pristine,
value,
setFieldValue,
error: formError,
@@ -315,11 +316,11 @@ function NewSubscriptionModal(props: Props) {
}
if (response.ok) {
- onCloseModal();
alert.show(
strings.newSubscriptionCreatedSuccessfully,
{ variant: 'success' },
);
+ onCloseModal();
if (onSuccess) {
onSuccess();
}
@@ -466,7 +467,7 @@ function NewSubscriptionModal(props: Props) {
@@ -552,7 +553,6 @@ function NewSubscriptionModal(props: Props) {
value={value.filterAlertAdmin1s}
onChange={setFieldValue}
error={getErrorString(fieldError?.filterAlertAdmin1s)}
- withAsterisk
/>