fix: invitation geeft enkel classId field terug
This commit is contained in:
		
							parent
							
								
									5624f3bbfe
								
							
						
					
					
						commit
						834e991568
					
				
					 4 changed files with 11 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -276,10 +276,10 @@
 | 
			
		|||
                <tbody>
 | 
			
		||||
                    <tr
 | 
			
		||||
                        v-for="i in invitations"
 | 
			
		||||
                        :key="(i.class as ClassDTO).id"
 | 
			
		||||
                        :key="i.classId"
 | 
			
		||||
                    >
 | 
			
		||||
                        <td>
 | 
			
		||||
                            {{ (i.class as ClassDTO).displayName }}
 | 
			
		||||
                          {{ i.classId }} <!-- TODO fetch display name via classId because db only returns classId field -->
 | 
			
		||||
                        </td>
 | 
			
		||||
                        <td>{{ (i.sender as TeacherDTO).firstName + " " + (i.sender as TeacherDTO).lastName }}</td>
 | 
			
		||||
                        <td class="text-right">
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Reference in a new issue