feat(web): introduce templates
This commit is contained in:
@@ -4,7 +4,7 @@ const createTemplateMock = async (template) => {
|
||||
name: template.name,
|
||||
createdAt: template.createdAt.getTime(),
|
||||
updatedAt: template.updatedAt.getTime(),
|
||||
flowData: template.flowData,
|
||||
flowData: template.getFlowDataWithIconUrls(),
|
||||
};
|
||||
|
||||
return {
|
||||
|
||||
@@ -4,7 +4,7 @@ const getTemplateMock = async (template) => {
|
||||
name: template.name,
|
||||
createdAt: template.createdAt.getTime(),
|
||||
updatedAt: template.updatedAt.getTime(),
|
||||
flowData: template.flowData,
|
||||
flowData: template.getFlowDataWithIconUrls(),
|
||||
};
|
||||
|
||||
return {
|
||||
|
||||
@@ -4,7 +4,7 @@ const getTemplatesMock = async (templates) => {
|
||||
name: template.name,
|
||||
createdAt: template.createdAt.getTime(),
|
||||
updatedAt: template.updatedAt.getTime(),
|
||||
flowData: template.flowData,
|
||||
flowData: template.getFlowDataWithIconUrls(),
|
||||
}));
|
||||
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user