Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TAS-1568] ⚡️ Use cache API and postMessage for pdf books #1600

Merged
merged 1 commit into from
Apr 23, 2024

Conversation

williamchong
Copy link
Member

@williamchong williamchong requested review from nwingt and a team April 22, 2024 17:45
Copy link

williamchong added a commit that referenced this pull request Apr 22, 2024
Comment on lines +106 to +115
if (this.isIframeReady) {
this.$refs.pdfIframe.contentWindow.postMessage(
JSON.stringify({
action: 'openBase64File',
data: {
data: this.base64FileData,
name: this.nftName,
},
}),
this.iframeOrigin
Copy link
Member

Choose a reason for hiding this comment

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

Can be refactored

@williamchong williamchong merged commit 9a834b9 into likecoin:develop Apr 23, 2024
1 check passed
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