From ba5c67dac2e09e3dabb80e4bda5c06e8fcc100eb Mon Sep 17 00:00:00 2001 From: vladislavkeblysh <138868841+vladislavkeblysh@users.noreply.github.com> Date: Tue, 12 Mar 2024 15:11:10 +0200 Subject: [PATCH 1/2] feat: [AXIMST-605] add file name to upload preview modal (#203) --- src/textbooks/textbook-form/TextbookForm.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textbooks/textbook-form/TextbookForm.scss b/src/textbooks/textbook-form/TextbookForm.scss index 73846b70fa..8db5d4c736 100644 --- a/src/textbooks/textbook-form/TextbookForm.scss +++ b/src/textbooks/textbook-form/TextbookForm.scss @@ -61,7 +61,7 @@ } .modal-preview-text { - font-size: 14px; + font-size: .875rem; } } From 0234d71cf219a6955e84c94a6e2186e2c29645d3 Mon Sep 17 00:00:00 2001 From: Kyrylo Hudym-Levkovych Date: Wed, 13 Mar 2024 19:17:45 +0200 Subject: [PATCH 2/2] fix: [AXIMST-657] Certificates update condition to show header buttons --- src/certificates/Certificates.jsx | 4 ++-- src/certificates/hooks/useCertificates.jsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/certificates/Certificates.jsx b/src/certificates/Certificates.jsx index 9650ba9a4e..f0afa2ef4d 100644 --- a/src/certificates/Certificates.jsx +++ b/src/certificates/Certificates.jsx @@ -22,7 +22,7 @@ const MODE_COMPONENTS = { const Certificates = ({ courseId }) => { const { - certificates, componentMode, isLoading, loadingStatus, + certificates, componentMode, isLoading, loadingStatus, hasCertificateModes, } = useCertificates({ courseId }); if (isLoading) { @@ -40,7 +40,7 @@ const Certificates = ({ courseId }) => { const ModeComponent = MODE_COMPONENTS[componentMode] || MODE_COMPONENTS[MODE_STATES.noModes]; return ( - 0}> + 0}> ); diff --git a/src/certificates/hooks/useCertificates.jsx b/src/certificates/hooks/useCertificates.jsx index 06076a0b1f..2f51e0319e 100644 --- a/src/certificates/hooks/useCertificates.jsx +++ b/src/certificates/hooks/useCertificates.jsx @@ -42,7 +42,7 @@ const useCertificates = ({ courseId }) => { document.title = getPageHeadTitle(courseTitle, intl.formatMessage(messages.headingTitleTabText)); return { - componentMode, isLoading, loadingStatus, certificates, + componentMode, isLoading, loadingStatus, certificates, hasCertificateModes, }; };