Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
N
nobu-web-v2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ari_darmawan
nobu-web-v2
Commits
611c6b87
Commit
611c6b87
authored
Jan 27, 2022
by
ari_darmawan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
embed live chat
parent
a3a525fe
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
admin-ticket-customer-md.component.ts
...-ticket-customer-md/admin-ticket-customer-md.component.ts
+1
-1
live-chat.component.ts
src/app/admin/live-chat/live-chat.component.ts
+1
-1
No files found.
src/app/admin/admin-ticket/admin-ticket-customer-md/admin-ticket-customer-md.component.ts
View file @
611c6b87
...
...
@@ -471,7 +471,7 @@ export class AdminTicketCustomerMdComponent implements OnInit {
org_id
:
1
,
customer_id
:
this
.
CustomerID
}
console
.
log
(
Request
)
if
(
valid
){
this
.
UpdateCustomerAPI
(
Request
)
}
else
{
...
...
src/app/admin/live-chat/live-chat.component.ts
View file @
611c6b87
...
...
@@ -25,7 +25,7 @@ export class LiveChatComponent implements OnInit {
this
.
isIframeLoad
=
false
;
this
.
reloadCount
=
1
;
const
item
=
this
.
global
.
getUserInformation
.
values
;
this
.
URLIFrame
=
`http://localhost:
4200
/chat?access_token=
${
item
.
access_token
}
&team_id=
${
item
.
team_id
}
&user_id=
${
item
.
user_id
}
&login_id=
${
item
.
login_id
}
&org_id=
${
item
.
org_id
}
&email=
${
item
.
email
}
&contact_name=
${
item
.
contact_name
}
`
;
this
.
URLIFrame
=
`http://localhost:
2323
/chat?access_token=
${
item
.
access_token
}
&team_id=
${
item
.
team_id
}
&user_id=
${
item
.
user_id
}
&login_id=
${
item
.
login_id
}
&org_id=
${
item
.
org_id
}
&email=
${
item
.
email
}
&contact_name=
${
item
.
contact_name
}
`
;
}
Iframe_onLoad
()
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment