fix(backend): Backend returns conditions of transitions again
This commit is contained in:
		
							parent
							
								
									300c0b721d
								
							
						
					
					
						commit
						1deb58eda0
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		|  | @ -180,6 +180,7 @@ function convertTransition( | ||||||
|         return { |         return { | ||||||
|             _id: String(index), // Retained for backwards compatibility. The index uniquely identifies the transition within the learning path.
 |             _id: String(index), // Retained for backwards compatibility. The index uniquely identifies the transition within the learning path.
 | ||||||
|             default: false, // We don't work with default transitions but retain this for backwards compatibility.
 |             default: false, // We don't work with default transitions but retain this for backwards compatibility.
 | ||||||
|  |             condition: transition.condition, | ||||||
|             next: { |             next: { | ||||||
|                 _id: nextNode._id ? nextNode._id + index : v4(), // Construct a unique ID for the transition for backwards compatibility.
 |                 _id: nextNode._id ? nextNode._id + index : v4(), // Construct a unique ID for the transition for backwards compatibility.
 | ||||||
|                 hruid: transition.next.learningObjectHruid, |                 hruid: transition.next.learningObjectHruid, | ||||||
|  |  | ||||||
		Reference in a new issue
	
	 Gerald Schmittinger
						Gerald Schmittinger