feat: slightly improve card layout + edit profile page
This commit is contained in:
parent
e5723360a7
commit
68939f5e10
5 changed files with 46 additions and 40 deletions
|
@ -260,15 +260,11 @@ function FieldCard({
|
|||
}) {
|
||||
return (
|
||||
<Card title={field.name} draggable={draggable}>
|
||||
{labelStatusOrder.map((status, i) => (
|
||||
<LabelsLine
|
||||
key={i}
|
||||
status={status}
|
||||
texts={field.labels
|
||||
.filter((x) => x.status === status)
|
||||
.map((x) => x.display())}
|
||||
/>
|
||||
))}
|
||||
{labelStatusOrder.map((status, i) =>
|
||||
field.labels
|
||||
.filter((x) => x.status === status)
|
||||
.map((x) => <LabelLine key={i} label={x} />)
|
||||
)}
|
||||
</Card>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue