Skip to content

Commit

Permalink
fix(misunderstood): strip slots for amend screen (#11214)
Browse files Browse the repository at this point in the history
  • Loading branch information
EFF committed Jan 14, 2022
1 parent b9ca519 commit bcf4bbd
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { MultiSelect } from '@blueprintjs/select'
import { AxiosStatic } from 'axios'
import { lang } from 'botpress/shared'
import classnames from 'classnames'
import { parseUtterance } from 'common/utterance-parser'
import without from 'lodash/without'
import React from 'react'

Expand Down Expand Up @@ -171,7 +172,7 @@ class IntentPicker extends React.Component<Props, State> {

const { language } = this.props

const utterances = intent.utterances[language] || []
const utterances = (intent.utterances[language] || []).map(u => parseUtterance(u).utterance)

return (
<Card
Expand Down

0 comments on commit bcf4bbd

Please sign in to comment.