code7-leia 0.1.174 → 0.1.175

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "0.1.174",
2
+ "version": "0.1.175",
3
3
  "license": "MIT",
4
4
  "main": "dist/index.js",
5
5
  "typings": "dist/index.d.ts",
@@ -97,10 +97,13 @@ export const FileArea = () => {
97
97
  }
98
98
 
99
99
  const handleOpenModalTraining = (tags?: [tag]) => {
100
- const pressets = tags?.map((tag) => {
101
- return tag.name
100
+ let pressets: string[] = []
101
+ tags?.map((tag) => {
102
+ if(!tag.trained){
103
+ pressets.push(tag.name)
104
+ }
102
105
  })
103
- setPresset(pressets ? pressets : [])
106
+ setPresset(pressets)
104
107
  setModalTraining(!modalTraining)
105
108
  }
106
109