Commit bc023eb8 by zhaochengxiang

bug fix

parent 9b40465f
......@@ -201,7 +201,7 @@ const FC = (props) => {
type: 'assetmanage.getTemplates',
callback: data => {
setLoadingTemplates(false)
const newTemplates = (data??[]).filter(item => item.type!=='post')
const newTemplates = (data??[]).filter(item => item.structured)
setTemplates(newTemplates)
......
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