FIxed spacing and export modal not working
This commit is contained in:
parent
46dc7e527e
commit
99fa125b91
2 changed files with 5 additions and 3 deletions
|
|
@ -51,7 +51,7 @@ export const EditFlowSettings: React.FC<InputProps> = ({
|
|||
};
|
||||
|
||||
return (
|
||||
<div>
|
||||
<>
|
||||
<Label>
|
||||
<div className="flex justify-between">
|
||||
<span className="font-medium">Name</span>{" "}
|
||||
|
|
@ -84,7 +84,7 @@ export const EditFlowSettings: React.FC<InputProps> = ({
|
|||
rows={3}
|
||||
/>
|
||||
</Label>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -18,6 +18,8 @@ import { Checkbox } from "../../components/ui/checkbox";
|
|||
import { EXPORT_DIALOG_SUBTITLE } from "../../constants";
|
||||
import EditFlowSettings from "../../components/nameInputComponent";
|
||||
import { Label } from "../../components/ui/label";
|
||||
import { Input } from "../../components/ui/input";
|
||||
import { Textarea } from "../../components/ui/textarea";
|
||||
|
||||
export default function ExportModal() {
|
||||
const [open, setOpen] = useState(true);
|
||||
|
|
@ -61,7 +63,7 @@ export default function ExportModal() {
|
|||
className="mt-2 focus-visible:ring-1"
|
||||
onChange={(event) => {
|
||||
if (event.target.value != "") {
|
||||
let newFlow = flows[tabIndex];
|
||||
let newFlow = flows.find((f) => f.id === tabId);
|
||||
newFlow.name = event.target.value;
|
||||
setName(event.target.value);
|
||||
updateFlow(newFlow);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue