mirror of
https://github.com/appwrite/console.git
synced 2026-04-07 19:17:46 +00:00
Fix domain verification event tracking
This commit is contained in:
+9
-1
@@ -2,7 +2,15 @@
|
||||
import { Link } from '$lib/elements';
|
||||
import type { Domain } from '$lib/sdk/domains';
|
||||
import { IconInfo } from '@appwrite.io/pink-icons-svelte';
|
||||
import { Badge, Layout, Typography, Table, Fieldset, Icon, InteractiveText } from '@appwrite.io/pink-svelte';
|
||||
import {
|
||||
Badge,
|
||||
Layout,
|
||||
Typography,
|
||||
Table,
|
||||
Fieldset,
|
||||
Icon,
|
||||
InteractiveText
|
||||
} from '@appwrite.io/pink-svelte';
|
||||
import type { Models } from '@appwrite.io/console';
|
||||
import { consoleVariables } from '$routes/(console)/store';
|
||||
|
||||
|
||||
+2
-2
@@ -26,10 +26,10 @@
|
||||
type: 'success',
|
||||
message: `${selectedDomain.domain} has been verified`
|
||||
});
|
||||
trackEvent(Submit.DomainDelete);
|
||||
trackEvent(Submit.DomainUpdateVerification);
|
||||
} catch (e) {
|
||||
error = e;
|
||||
trackError(e, Submit.DomainDelete);
|
||||
trackError(e, Submit.DomainUpdateVerification);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -30,10 +30,10 @@
|
||||
type: 'success',
|
||||
message: `${selectedDomain.domain} has been verified`
|
||||
});
|
||||
trackEvent(Submit.DomainDelete);
|
||||
trackEvent(Submit.DomainUpdateVerification);
|
||||
} catch (e) {
|
||||
error = e;
|
||||
trackError(e, Submit.DomainDelete);
|
||||
trackError(e, Submit.DomainUpdateVerification);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -52,10 +52,10 @@
|
||||
type: 'success',
|
||||
message: `${selectedDomain.domain} has been verified`
|
||||
});
|
||||
trackEvent(Submit.DomainDelete);
|
||||
trackEvent(Submit.DomainUpdateVerification);
|
||||
} catch (e) {
|
||||
error = e;
|
||||
trackError(e, Submit.DomainDelete);
|
||||
trackError(e, Submit.DomainUpdateVerification);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user