Просмотр исходного кода

[WEB] removing the beta icon from import modal (#34025)

* removing the beta icon from import modal

* removing the unused classes

GitOrigin-RevId: 11dbe04f31ba831f96e30ab93f3f6c732166e08f
Davinder Singh 2 месяцев назад
Родитель
Сommit
8b61e8cdca

+ 1 - 7
services/web/frontend/js/features/project-list/components/new-project-button/import-document-modal.tsx

@@ -12,7 +12,6 @@ import {
 import OLButton from '@/shared/components/ol/ol-button'
 import '@uppy/core/dist/style.css'
 import '@uppy/dashboard/dist/style.css'
-import BetaBadgeIcon from '@/shared/components/beta-badge-icon'
 
 function ImportDocumentModal({
   type,
@@ -59,12 +58,7 @@ function ImportDocumentModal({
     >
       {/* TODO: make necessary changes here for import document modal */}
       <OLModalHeader>
-        <OLModalTitle as="h3" className="import-document-modal-title">
-          {config.title}
-          <span className="beta-icon-wrapper">
-            <BetaBadgeIcon />
-          </span>
-        </OLModalTitle>
+        <OLModalTitle as="h3">{config.title}</OLModalTitle>
       </OLModalHeader>
       <OLModalBody>
         <p>{t('import_document_description')}</p>

+ 0 - 10
services/web/frontend/stylesheets/pages/project-list.scss

@@ -585,16 +585,6 @@ ul.project-list-filters {
   }
 }
 
-.import-document-modal-title {
-  display: flex;
-  align-items: center;
-
-  .beta-icon-wrapper {
-    margin-left: var(--spacing-03);
-    display: inline-flex;
-  }
-}
-
 /* stylelint-disable selector-class-pattern */
 .project-list-upload-project-modal-uppy-dashboard .uppy-Root {
   .uppy-Dashboard-AddFiles-title {