mirror of
https://github.com/plankanban/planka.git
synced 2025-12-18 09:13:21 +03:00
ref: Little change for consistency
This commit is contained in:
@@ -84,7 +84,15 @@ const LabelsStep = React.memo(
|
||||
if (step) {
|
||||
switch (step.type) {
|
||||
case StepTypes.ADD:
|
||||
return <AddStep onCreate={onCreate} onBack={handleBack} initialValue={search} />;
|
||||
return (
|
||||
<AddStep
|
||||
defaultData={{
|
||||
name: search,
|
||||
}}
|
||||
onCreate={onCreate}
|
||||
onBack={handleBack}
|
||||
/>
|
||||
);
|
||||
case StepTypes.EDIT: {
|
||||
const currentItem = items.find((item) => item.id === step.params.id);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user