Эх сурвалжийг харах

Fix "autocompile disabled" error in PDF preview (#21876)

GitOrigin-RevId: 3a7360b5d38614acf20353bd9bcdce8558472289
Alf Eaton 1 жил өмнө
parent
commit
79164f90d7

+ 1 - 1
services/web/frontend/js/features/pdf-preview/components/pdf-preview-error.jsx

@@ -136,7 +136,7 @@ function PdfPreviewError({ error }) {
         </ErrorLogEntry>
         </ErrorLogEntry>
       )
       )
 
 
-    case 'auto-compile-disabled':
+    case 'autocompile-disabled':
       return (
       return (
         <ErrorLogEntry title={t('autocompile_disabled')}>
         <ErrorLogEntry title={t('autocompile_disabled')}>
           {t('autocompile_disabled_reason')}
           {t('autocompile_disabled_reason')}

+ 1 - 0
services/web/frontend/stories/pdf-preview.stories.jsx

@@ -244,6 +244,7 @@ export const CompileError = () => {
           left: 10,
           left: 10,
           background: 'white',
           background: 'white',
           padding: 10,
           padding: 10,
+          zIndex: 100,
         }}
         }}
       >
       >
         <label>
         <label>