mirror of
				https://github.com/Fabio286/antares.git
				synced 2025-06-05 21:59:22 +02:00 
			
		
		
		
	fix(UI): data type figure twice on type select
This commit is contained in:
		| @@ -381,10 +381,12 @@ export default { | ||||
|       isInDataTypes () { | ||||
|          let typeNames = []; | ||||
|          for (const group of this.dataTypes) { | ||||
|             typeNames = group.types.reduce((acc, curr) => { | ||||
|             const groupTypeNames = group.types.reduce((acc, curr) => { | ||||
|                acc.push(curr.name); | ||||
|                return acc; | ||||
|             }, []); | ||||
|  | ||||
|             typeNames = [...groupTypeNames, ...typeNames]; | ||||
|          } | ||||
|          return typeNames.includes(this.row.type); | ||||
|       } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user