mirror of
https://github.com/strapi/strapi.git
synced 2025-12-30 00:37:24 +00:00
chore(upload): modify amplitude events
This commit is contained in:
parent
d7e3db84b6
commit
5452247282
@ -41,10 +41,10 @@ const ConfigureTheView = ({ config }) => {
|
||||
const handleSubmit = (e) => {
|
||||
e.preventDefault();
|
||||
toggleWarningSubmit();
|
||||
trackUsage('willSaveMediaLibraryConfig');
|
||||
};
|
||||
|
||||
const handleConfirm = async () => {
|
||||
trackUsage('willEditMediaLibraryConfig');
|
||||
await mutateConfig.mutateAsync(modifiedData);
|
||||
toggleWarningSubmit();
|
||||
dispatch(setLoaded());
|
||||
|
||||
@ -219,9 +219,6 @@ export const MediaLibrary = () => {
|
||||
<CheckPermissions permissions={pluginPermissions.configureView}>
|
||||
<ConfigureTheViewButton paddingTop={1} paddingBottom={1}>
|
||||
<IconButton
|
||||
onClick={() => {
|
||||
trackUsage('willEditMediaLibraryConfig');
|
||||
}}
|
||||
forwardedAs={ReactRouterLink}
|
||||
to={{
|
||||
pathname: `${pathname}/configuration`,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user