1
0
Fork 0
mirror of synced 2024-10-03 19:43:32 +13:00

adding right user key

This commit is contained in:
Martin McKeaveney 2022-07-04 15:53:40 +01:00
parent 51e0e62241
commit 2d09ecc24b

View file

@ -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,