fix: capture layout builder event
This commit is contained in:
parent
46e12bdda4
commit
b8cde2a465
@ -56,6 +56,7 @@
|
||||
import Fields from '@/components/Fields.vue'
|
||||
import QuickEntryLayoutBuilder from '@/components/Settings/QuickEntryLayoutBuilder.vue'
|
||||
import { useDebounceFn } from '@vueuse/core'
|
||||
import { capture } from '@/telemetry'
|
||||
import { Dialog, Badge, Switch, call, createResource } from 'frappe-ui'
|
||||
import { ref, watch, onMounted, nextTick } from 'vue'
|
||||
|
||||
@ -122,6 +123,7 @@ function saveChanges() {
|
||||
).then(() => {
|
||||
loading.value = false
|
||||
show.value = false
|
||||
capture('quick_entry_layout_builder', { doctype: _doctype.value })
|
||||
})
|
||||
}
|
||||
</script>
|
||||
|
||||
@ -74,6 +74,7 @@ import Section from '@/components/Section.vue'
|
||||
import SectionFields from '@/components/SectionFields.vue'
|
||||
import SidePanelLayoutBuilder from '@/components/Settings/SidePanelLayoutBuilder.vue'
|
||||
import { useDebounceFn } from '@vueuse/core'
|
||||
import { capture } from '@/telemetry'
|
||||
import { Dialog, Badge, Switch, call, createResource } from 'frappe-ui'
|
||||
import { ref, watch, onMounted, nextTick } from 'vue'
|
||||
|
||||
@ -143,6 +144,7 @@ function saveChanges() {
|
||||
).then(() => {
|
||||
loading.value = false
|
||||
show.value = false
|
||||
capture('side_panel_layout_builder', { doctype: _doctype.value })
|
||||
emit('reload')
|
||||
})
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user