chore: Fix wrong documentation to set a label (#1269)

This commit is contained in:
Pranav Raj S 2020-09-24 23:20:25 +05:30 committed by GitHub
parent 532331edb6
commit d6ada922c8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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');
``` ```