@@ -213,17 +213,17 @@ watch(
213213 studentToRemove?.lastName
214214 : ''
215215 "
216- :image-src =" undefined "
216+ :image-src =" studentToRemove?.src || getPlaceholderImage(studentToRemove?.firstName, studentToRemove?.lastName) || '' "
217217 :main-text ="
218- t('settings. supervisorStudentList.removeStudent.mainText', {
218+ t('supervisorStudentList.removeStudent.mainText', {
219219 firstName: studentToRemove?.firstName,
220220 lastName: studentToRemove?.lastName,
221221 })
222222 "
223- :confirm-text =" t('settings. supervisorStudentList.removeStudent.confirmText')"
224- :checkbox-label =" t('settings. supervisorStudentList.checkboxLabel')"
223+ :confirm-text =" t('supervisorStudentList.removeStudent.confirmText')"
224+ :checkbox-label =" t('supervisorStudentList.checkboxLabel')"
225225 setting-key =" showRemoveStudentModal"
226- :title =" t('settings. supervisorStudentList.removeStudent.title')"
226+ :title =" t('supervisorStudentList.removeStudent.title')"
227227 icon =" trash"
228228 @confirm =" confirmRemoveStudent"
229229 />
@@ -240,20 +240,20 @@ watch(
240240 modal_user.last_name
241241 : ''
242242 "
243- :image-src =" modal_user?.profile_image || undefined "
243+ :image-src =" modal_user?.profile_image || getPlaceholderImage(modal_user?.first_name, modal_user?.last_name) || '' "
244244 :main-text ="
245- t('settings. supervisorStudentList.addExistingStudent.mainText', {
245+ t('supervisorStudentList.addExistingStudent.mainText', {
246246 firstName: modal_user?.first_name,
247247 lastName: modal_user?.last_name,
248248 })
249249 "
250250 :show-checkbox =" true"
251- :checkbox-label =" t('settings. supervisorStudentList.checkboxLabel')"
252- :confirm-text =" t('settings. supervisorStudentList.addExistingStudent.confirmText')"
251+ :checkbox-label =" t('supervisorStudentList.checkboxLabel')"
252+ :confirm-text =" t('supervisorStudentList.addExistingStudent.confirmText')"
253253 icon =" user-group"
254254 setting-key =" showAddStudentModal"
255- :sub-text =" t('settings. supervisorStudentList.addExistingStudent.subText')"
256- :title =" t('settings. supervisorStudentList.addExistingStudent.title')"
255+ :sub-text =" t('supervisorStudentList.addExistingStudent.subText')"
256+ :title =" t('supervisorStudentList.addExistingStudent.title')"
257257 @confirm =" addStudent"
258258 />
259259
@@ -262,19 +262,19 @@ watch(
262262 ref =" modalNotExistingStudentRef"
263263 :email =" emailAddress"
264264 :main-text ="
265- t('settings. supervisorStudentList.addNewStudent.mainText', {
265+ t('supervisorStudentList.addNewStudent.mainText', {
266266 emailAddress: emailAddress,
267267 })
268268 "
269269 :show-checkbox =" true"
270- :checkbox-label =" t('settings. supervisorStudentList.checkboxLabel')"
270+ :checkbox-label =" t('supervisorStudentList.checkboxLabel')"
271271 confirm-text =" "
272272 icon =" user-group"
273273 image-alt =" Logo"
274274 image-src =" ../images/Superwise_Logo.svg"
275275 setting-key =" showAddStudentModal"
276- :sub-text =" t('settings. supervisorStudentList.addExistingStudent.subText')"
277- :title =" t('settings. supervisorStudentList.addNewStudent.title')"
276+ :sub-text =" t('supervisorStudentList.addExistingStudent.subText')"
277+ :title =" t('supervisorStudentList.addNewStudent.title')"
278278 @confirm =" addStudent"
279279 />
280280 </div >
0 commit comments