diff --git a/src/Components/Document/DocEditPage.js b/src/Components/Document/DocEditPage.js index 4f99ab6..26ee0a5 100644 --- a/src/Components/Document/DocEditPage.js +++ b/src/Components/Document/DocEditPage.js @@ -548,7 +548,7 @@ const DocEditPage = (props) => {
{parsedRogs?.map((rog, i) => (
-
+
{numberingContent(i)} {rog?.text}
diff --git a/src/Components/Document/ReqEditPage.js b/src/Components/Document/ReqEditPage.js index c225651..ae0e505 100644 --- a/src/Components/Document/ReqEditPage.js +++ b/src/Components/Document/ReqEditPage.js @@ -155,15 +155,18 @@ const RequestEditPage = () => { } async function createAndReturnDocx() { - window.scrollTo({ top: 0 }); - //setIsBusy(true); + setIsBusy(true); const response = await handleCreateDocx(); - if (response && response?.status === 200) { + + if (response?.status != 500) { setTimeout(getDocx, 5000); setTimeout(cleanUpDocx, 10000); } else { setShowErrorModal(true); } + window.scrollTo(0, 0); + setTimeout(setIsBusy, 4000, false); + //setIsBusy(false); } const postEditedrequests = () => {}; diff --git a/src/styles/docedit-page.scss b/src/styles/docedit-page.scss index 2bffcf0..eeed687 100644 --- a/src/styles/docedit-page.scss +++ b/src/styles/docedit-page.scss @@ -335,6 +335,17 @@ } } +.doced-request-text-up { + color: #a2a2a2; + margin-top: 5px; + margin-left: 8px; + margin-bottom: 16px; + text-align: justify; + &.reqq { + max-width: 24px; + } +} + .request-text-up-row { display: flex; flex-direction: row;