Update presets.vue

pull/509/head
AKSHAT ANAND 2025-10-21 18:59:36 +05:30 committed by GitHub
parent dd290c0b70
commit c254f01844
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -300,7 +300,8 @@ THE SOFTWARE.
presetEvent(name, overwrite = false) {
analytics({
category: 'Preset',
action: overwrite ? 'Overwritten' : 'Applied', // TODO: Is overwritten the best word here?
// Use a clearer action name for analytics
action: overwrite ? 'Updated' : 'Applied',
label: name,
});
},