IO-1523 Long production view name.
This commit is contained in:
@@ -113,6 +113,7 @@ export function ProductionListTable({
|
|||||||
onSelect={handleSelect}
|
onSelect={handleSelect}
|
||||||
placeholder={t("production.labels.selectview")}
|
placeholder={t("production.labels.selectview")}
|
||||||
optionLabelProp="label"
|
optionLabelProp="label"
|
||||||
|
dropdownMatchSelectWidth={false}
|
||||||
defaultValue={defaultView}
|
defaultValue={defaultView}
|
||||||
>
|
>
|
||||||
{bodyshop.production_config.map((config) => (
|
{bodyshop.production_config.map((config) => (
|
||||||
@@ -120,23 +121,31 @@ export function ProductionListTable({
|
|||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
display: "flex",
|
display: "flex",
|
||||||
width: "100%",
|
justifyContent: "space-between",
|
||||||
|
alignItems: "center",
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<span style={{ flex: 1 }}>{config.name}</span>
|
<span
|
||||||
|
style={{
|
||||||
|
flex: 1,
|
||||||
|
maxWidth: "80%",
|
||||||
|
marginRight: "1rem",
|
||||||
|
textOverflow: "ellipsis",
|
||||||
|
}}
|
||||||
|
>
|
||||||
|
{config.name}
|
||||||
|
</span>
|
||||||
|
|
||||||
<Popconfirm
|
<Popconfirm
|
||||||
placement="right"
|
placement="right"
|
||||||
title={t("general.labels.areyousure")}
|
title={t("general.labels.areyousure")}
|
||||||
onConfirm={() => handleTrash(config.name)}
|
onConfirm={() => handleTrash(config.name)}
|
||||||
>
|
>
|
||||||
<Button
|
<DeleteOutlined
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
}}
|
}}
|
||||||
>
|
/>
|
||||||
<DeleteOutlined />
|
|
||||||
</Button>
|
|
||||||
</Popconfirm>
|
</Popconfirm>
|
||||||
</div>
|
</div>
|
||||||
</Select.Option>
|
</Select.Option>
|
||||||
|
|||||||
Reference in New Issue
Block a user