From c770b7348df19779f03edbe5a41d8a6d9fb7c89f Mon Sep 17 00:00:00 2001 From: Leon Date: Mon, 13 Jul 2026 16:56:53 +0800 Subject: [PATCH] fix: hide PDF download button for PPTX workflow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PPTX→PDF via browser print produces plain text (no layout/images). Hide the button when task.downloads.pptx exists to avoid confusing output. --- docutranslate/static/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docutranslate/static/index.html b/docutranslate/static/index.html index e3d0061..c7ad2e7 100644 --- a/docutranslate/static/index.html +++ b/docutranslate/static/index.html @@ -806,7 +806,7 @@ :class="getFileIcon(key)">{{ key === 'markdown_zip' ? t('downloadMdZip') : (key === 'markdown' ? t('downloadMdEmbedded') : key.toUpperCase()) }} -
  • +
  • PDF @@ -933,7 +933,7 @@ }}
  • -
  • +
  • PDF