Merge branch 'main' of github.com:presenton/presenton

This commit is contained in:
sauravniraula 2025-07-26 20:05:08 +05:45
commit f7ad01a648
No known key found for this signature in database
GPG key ID: 60FCC1B5A5E83326

View file

@ -56,6 +56,9 @@ const Header = ({
try {
setOpen(false);
setShowLoader(true);
// Save the presentation data before exporting
await PresentationGenerationApi.updatePresentationContent(presentationData);
const pptx_model = await get_presentation_pptx_model(presentation_id);
if (!pptx_model) {
@ -86,6 +89,8 @@ const Header = ({
try {
setOpen(false);
setShowLoader(true);
// Save the presentation data before exporting
await PresentationGenerationApi.updatePresentationContent(presentationData);
const response = await fetch('/api/export-as-pdf', {
method: 'POST',