From ba8a9be349ec9e1846feaef80a7a4cd37271746d Mon Sep 17 00:00:00 2001
From: Antoine Clausse
Date: Wed, 10 Apr 2024 10:42:43 +0200
Subject: [PATCH] Move "reducing_compile_timeout" notice to the bottom of the
box (#17840)
GitOrigin-RevId: 6dc28cb41af28947c4e43ab57d26518c0c0a3245
---
.../components/timeout-upgrade-prompt-new.tsx | 66 +++++++++----------
1 file changed, 33 insertions(+), 33 deletions(-)
diff --git a/services/web/frontend/js/features/pdf-preview/components/timeout-upgrade-prompt-new.tsx b/services/web/frontend/js/features/pdf-preview/components/timeout-upgrade-prompt-new.tsx
index ec1962924e..f46ac9dadc 100644
--- a/services/web/frontend/js/features/pdf-preview/components/timeout-upgrade-prompt-new.tsx
+++ b/services/web/frontend/js/features/pdf-preview/components/timeout-upgrade-prompt-new.tsx
@@ -165,39 +165,6 @@ const PreventTimeoutHelpMessage = memo(function PreventTimeoutHelpMessage({
headerTitle={t('reasons_for_compile_timeouts')}
formattedContent={
<>
-
-
- {compileTimeChanging ? (
- <>
- {isProjectOwner ? (
-
- ) : (
-
- )}
- >
- ) : (
- <>
- {isProjectOwner ? (
-
- ) : (
-
- )}
- >
- )}
-
-
{t('common_causes_of_compile_timeouts_include')}:
-
@@ -258,6 +225,39 @@ const PreventTimeoutHelpMessage = memo(function PreventTimeoutHelpMessage({
]}
/>
+
+
+ {compileTimeChanging ? (
+ <>
+ {isProjectOwner ? (
+
+ ) : (
+
+ )}
+ >
+ ) : (
+ <>
+ {isProjectOwner ? (
+
+ ) : (
+
+ )}
+ >
+ )}
+
+
>
}
// @ts-ignore