From 8bb07d4a33b9c50c2ca67594080eb0a3a7f0a71e Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sun, 4 Mar 2018 11:59:10 +0100 Subject: [PATCH] [webpack.teacher.view] updated with VH data --- webpack/component/teacher/view.vue | 10 +++++----- webpack/data/teacher.js | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/webpack/component/teacher/view.vue b/webpack/component/teacher/view.vue index 432e169..33f9ece 100644 --- a/webpack/component/teacher/view.vue +++ b/webpack/component/teacher/view.vue @@ -4,7 +4,7 @@
Aucun enseignant trouvé
-
+
{{ prof.abreviation }}

{{ prof.firstName }} {{ prof.lastName }}

@@ -14,15 +14,15 @@ heures à faire
- ? + {{prof.equiTD}} heures prévues
diff --git a/webpack/data/teacher.js b/webpack/data/teacher.js index 4ec086e..9cacfef 100644 --- a/webpack/data/teacher.js +++ b/webpack/data/teacher.js @@ -4,7 +4,7 @@ gstore.add('professors', []); /* (2) Get professors */ -api.call('GET professor', {}, function(rs){ +api.call('GET professor/1/', { vh: true }, function(rs){ // {1} If error -> abort // if( rs.error !== 0 )