chore: Fix wrong documentation to set a label (#1269)
This commit is contained in:
parent
532331edb6
commit
d6ada922c8
1 changed files with 1 additions and 1 deletions
|
@ -115,7 +115,7 @@ To set the language manually, use the `setLocale` function.
|
||||||
Please note that the labels will be set on a conversation if the user has not started a conversation. In that case, the following items will not have any effect:
|
Please note that the labels will be set on a conversation if the user has not started a conversation. In that case, the following items will not have any effect:
|
||||||
|
|
||||||
```js
|
```js
|
||||||
window.$chatwoot.addLabel('support-ticket');
|
window.$chatwoot.setLabel('support-ticket');
|
||||||
|
|
||||||
window.$chatwoot.removeLabel('support-ticket');
|
window.$chatwoot.removeLabel('support-ticket');
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue