mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 03:01:54 +00:00
Clean tags in issue reports (#2323)
This commit is contained in:
@@ -105,6 +105,7 @@ import { Form, FormField, type FormSubmitEvent } from '@primevue/forms'
|
|||||||
import { zodResolver } from '@primevue/forms/resolvers/zod'
|
import { zodResolver } from '@primevue/forms/resolvers/zod'
|
||||||
import type { CaptureContext, User } from '@sentry/core'
|
import type { CaptureContext, User } from '@sentry/core'
|
||||||
import { captureMessage } from '@sentry/core'
|
import { captureMessage } from '@sentry/core'
|
||||||
|
import _ from 'lodash'
|
||||||
import cloneDeep from 'lodash/cloneDeep'
|
import cloneDeep from 'lodash/cloneDeep'
|
||||||
import Button from 'primevue/button'
|
import Button from 'primevue/button'
|
||||||
import Checkbox from 'primevue/checkbox'
|
import Checkbox from 'primevue/checkbox'
|
||||||
@@ -218,7 +219,7 @@ const createCaptureContext = async (
|
|||||||
? formData.notifyOnResolution
|
? formData.notifyOnResolution
|
||||||
: false,
|
: false,
|
||||||
isElectron: isElectron(),
|
isElectron: isElectron(),
|
||||||
...props.tags
|
..._.mapValues(props.tags, (tag) => _.trim(tag).replace(/[\n\r\t]/g, ' '))
|
||||||
},
|
},
|
||||||
extra: {
|
extra: {
|
||||||
details: formData.details,
|
details: formData.details,
|
||||||
|
|||||||
Reference in New Issue
Block a user