mirror of
https://github.com/plankanban/planka.git
synced 2025-07-19 21:29:43 +02:00
feat: Prefill label creation with search term (#307)
This commit is contained in:
parent
2ebb24a0ff
commit
694fa17bdf
2 changed files with 4 additions and 3 deletions
|
@ -84,7 +84,7 @@ const LabelsStep = React.memo(
|
|||
if (step) {
|
||||
switch (step.type) {
|
||||
case StepTypes.ADD:
|
||||
return <AddStep onCreate={onCreate} onBack={handleBack} />;
|
||||
return <AddStep onCreate={onCreate} onBack={handleBack} initialValue={search} />;
|
||||
case StepTypes.EDIT: {
|
||||
const currentItem = items.find((item) => item.id === step.params.id);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue