From 6d57e0aa5b47527d0b4ed50a72559a13ee6d3fe0 Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Tue, 8 May 2018 14:50:39 +0200 Subject: [PATCH] display default creation formations on UI for 'POST api.ue.*' --- webpack/data/ue.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack/data/ue.js b/webpack/data/ue.js index e4aacd8..9b2ac34 100644 --- a/webpack/data/ue.js +++ b/webpack/data/ue.js @@ -1282,7 +1282,7 @@ gstore.add('ccreate', function(){ newRes[`id${restyp2}`] = rs.created_id; newRes[`idProf`] = prof; newRes[`volume`] = vol; - newRes[`formations`] = []; + newRes[`formations`] = rs.formations; newRes[`add_form`] = '-'; newRes[`new_prof`] = prof;