Commit b9508d73 authored by tom's avatar tom

fix converter

parent 4925c118
......@@ -23,8 +23,8 @@ export function convertFormDataToRequestsBody(data: FormFields): Array<SubmitReq
tagType: tag.type.value,
description: data.description,
meta: _pickBy({
bgColor: tag.bgColor,
textColor: tag.textColor,
bgColor: tag.bgColor ? `#${ tag.bgColor }` : undefined,
textColor: tag.textColor ? `#${ tag.textColor }` : undefined,
tagUrl: tag.url,
tooltipDescription: tag.tooltipDescription,
}, Boolean),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment