Skip to content

Commit 26e358e

Browse files
committed
fix: remove reptition of excluded blocks
1 parent 5af7497 commit 26e358e

File tree

1 file changed

+4
-22
lines changed

1 file changed

+4
-22
lines changed

src/components/app/details/triggerView/cdMaterial.tsx

Lines changed: 4 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -634,16 +634,8 @@ export class CDMaterial extends Component<CDMaterialProps, CDMaterialState> {
634634
/>
635635

636636
{mat.filterState !== FilterStates.ALLOWED && (
637-
<div className="flex dc__gap-12 ml-12">
638-
<div className="h-20 dc__border-left" />
639-
<Tippy
640-
className="default-tt w-200"
641-
arrow={false}
642-
placement="top"
643-
content={EXCLUDED_IMAGE_TOOLTIP}
644-
>
645-
<i className="cr-5 fs-13 fw-4 lh-24 m-0 cursor-not-allowed">Excluded</i>
646-
</Tippy>
637+
<div className="flex dc__gap-12 mr-12">
638+
<div className="h-12 dc__border-left" />
647639
</div>
648640
)}
649641
</>
@@ -742,18 +734,8 @@ export class CDMaterial extends Component<CDMaterialProps, CDMaterialState> {
742734
/>
743735

744736
{mat.filterState !== FilterStates.ALLOWED && (
745-
<div className="flex dc__gap-12 ml-12">
746-
<div className="h-20 dc__border-left" />
747-
<Tippy
748-
className="default-tt w-200"
749-
arrow={false}
750-
placement="top"
751-
content={EXCLUDED_IMAGE_TOOLTIP}
752-
>
753-
<i className="cr-5 fs-13 fw-4 lh-24 m-0 cursor-not-allowed">
754-
Excluded
755-
</i>
756-
</Tippy>
737+
<div className="flex dc__gap-12 mr-12">
738+
<div className="h-12 dc__border-left" />
757739
</div>
758740
)}
759741
</>

0 commit comments

Comments
 (0)