Skip to content

Develop 660 extension drawer contribution#3

Open
jemmyw wants to merge 5 commits intomainfrom
DEVELOP-660-extension-drawer-contribution
Open

Develop 660 extension drawer contribution#3
jemmyw wants to merge 5 commits intomainfrom
DEVELOP-660-extension-drawer-contribution

Conversation

@jemmyw
Copy link
Copy Markdown
Collaborator

@jemmyw jemmyw commented May 18, 2021

No description provided.

Copy link
Copy Markdown
Contributor

@cornu-ammonis cornu-ammonis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code looks good, one tweak. I can't get a test setup going locally because of Zendesk issues

Comment thread src/drawer/ticket.tsx Outdated
const url = ticket.url.replace("/api/v2", "/agent").replace(".json", "");

return (
<a {...props} href={url} rel="noreferrer noopener" target="_blank">
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just in case

Suggested change
<a {...props} href={url} rel="noreferrer noopener" target="_blank">
<a {...props} href={aha.sanitizeUrl(ur)l} rel="noreferrer noopener" target="_blank">

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants