From ebcb0c5dde5f44c5d04a27b04a7f88ca536ba661 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luca=20J=C3=A4ntsch?= Date: Thu, 6 Jun 2019 09:46:12 +0200 Subject: [PATCH] Aktualisieren src/jsx/ui/student.jsx --- src/jsx/ui/student.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/jsx/ui/student.jsx b/src/jsx/ui/student.jsx index 0b05fa6..aff4adb 100644 --- a/src/jsx/ui/student.jsx +++ b/src/jsx/ui/student.jsx @@ -9,7 +9,7 @@ export class Student extends React.Component{ username:this.camelize(props.username), name:props.username, cl:props.cl, - img_url:'/data/class/'+props.cl+'/'+props.username+'.svg', + img_url:'data/class/'+props.cl+'/'+props.username+'.svg', num:props.i, dis:"" } @@ -27,7 +27,7 @@ export class Student extends React.Component{ return x.join(' '); } onErr(){ - var url = '/data/class/student.svg'; + var url = 'data/class/student.svg'; this.setState({img_url:url}); } appear(){