adding right user key
This commit is contained in:
parent
51e0e62241
commit
2d09ecc24b
|
@ -53,7 +53,7 @@ export default class IntercomClient {
|
|||
* @returns Intercom global object
|
||||
*/
|
||||
show(user = {}) {
|
||||
if (!this.initialised || !user?.admin?.global) return
|
||||
if (!this.initialised || !user?.admin) return
|
||||
|
||||
return window.Intercom("boot", {
|
||||
app_id: this.token,
|
||||
|
|
Loading…
Reference in New Issue