Commit bc023eb8 by zhaochengxiang

bug fix

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