Skip to content

Commit

Permalink
remove icon next to multiple values
Browse files Browse the repository at this point in the history
  • Loading branch information
standeren committed Jan 17, 2025
1 parent 533540f commit 9291cd0
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 30 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { StudioProperty } from '@studio/components';
import { useTranslation } from 'react-i18next';
import { LinkIcon } from '@studio/icons';
import { SelectDataTypesToSign } from './SelectDataTypesToSign';
import classes from './EditDataTypesToSign.module.css';
import { useGetDataTypesToSign } from '../../../../hooks/dataTypesToSign/useGetDataTypesToSign';

export const EditDataTypesToSign = () => {
Expand All @@ -21,15 +20,8 @@ export const EditDataTypesToSign = () => {
onClick={() => setDataTypesToSignSelectVisible(true)}
property={t('process_editor.configuration_panel_set_data_types_to_sign')}
title={t('process_editor.configuration_panel_set_data_types_to_sign')}
value={
<>
{selectedDataTypes?.map((dataType) => (
<div key={dataType} className={classes.dataType}>
<LinkIcon /> {dataType}
</div>
))}
</>
}
icon={<LinkIcon />}
value={selectedDataTypes?.map((dataType: string) => <div key={dataType}>{dataType}</div>)}
/>
);
};

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { StudioProperty } from '@studio/components';
import { useTranslation } from 'react-i18next';
import { PersonPencilIcon } from '@studio/icons';
import { SelectUniqueFromSignaturesInDataTypes } from './SelectUniqueFromSignaturesInDataTypes';
import classes from './EditUniqueFromSignaturesInDataTypes.module.css';
import { getSelectedDataTypes } from './UniqueFromSignaturesInDataTypesUtils';
import { StudioModeler } from '../../../../utils/bpmnModeler/StudioModeler';

Expand Down Expand Up @@ -62,15 +61,8 @@ export const EditUniqueFromSignaturesInDataTypes = () => {
'process_editor.configuration_panel_set_unique_from_signatures_in_data_types',
)}
title={t('process_editor.configuration_panel_set_unique_from_signatures_in_data_types')}
value={
<>
{signingTasks?.map((dataType) => (
<div key={dataType.id} className={classes.dataType}>
<PersonPencilIcon /> {dataType.name}
</div>
))}
</>
}
icon={<PersonPencilIcon />}
value={signingTasks?.map((dataType) => <div key={dataType.id}>{dataType.name}</div>)}
/>
)}
</>
Expand Down

0 comments on commit 9291cd0

Please sign in to comment.