Forgot to also fix this controller

This commit is contained in:
Alexandre Aubin 2018-06-13 20:40:50 +02:00
parent 877e303e74
commit a34784bd38

View file

@ -18,7 +18,7 @@
v.name = k; v.name = k;
// Handlebars want booleans // Handlebars want booleans
v.is_loaded = (v.loaded=='enabled') ? true : false; v.is_loaded = (v.loaded=='enabled') ? true : false;
v.is_running = (v.status=='running') ? true : false; v.is_running = (v.active=='active') ? true : false;
// Translate status and loaded state // Translate status and loaded state
v.status = y18n.t(v.status); v.status = y18n.t(v.status);
v.loaded = y18n.t(v.loaded); v.loaded = y18n.t(v.loaded);