adding right user key

This commit is contained in:
Martin McKeaveney 2022-07-04 15:53:40 +01:00
parent 35c53baceb
commit d84eab64a5
1 changed files with 1 additions and 1 deletions

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,