Loading public/js/components/build/roles.js +3 −1 Original line number Diff line number Diff line Loading @@ -135,7 +135,9 @@ define(['exports', 'vue', 'vue-resource', 'bootbox'], function (exports, _vue, _ });; } else { this.$http.post(this.$http.$options.root, this.form).then(function (res) { _this3.common.roles.push(res.body); var added = res.body; added.principal = added.principal == 'true'; _this3.common.roles.push(added); flashMessage('success', "Le rôle a été ajouté"); return; }, function (err) { Loading public/js/components/src/roles.js +3 −1 Original line number Diff line number Diff line Loading @@ -238,7 +238,9 @@ var Roles = Vue.extend({ else { this.$http.post(this.$http.$options.root, this.form).then( (res) => { this.common.roles.push(res.body); var added = res.body; added.principal = (added.principal == 'true'); this.common.roles.push(added); flashMessage('success', "Le rôle a été ajouté"); return; }, Loading Loading
public/js/components/build/roles.js +3 −1 Original line number Diff line number Diff line Loading @@ -135,7 +135,9 @@ define(['exports', 'vue', 'vue-resource', 'bootbox'], function (exports, _vue, _ });; } else { this.$http.post(this.$http.$options.root, this.form).then(function (res) { _this3.common.roles.push(res.body); var added = res.body; added.principal = added.principal == 'true'; _this3.common.roles.push(added); flashMessage('success', "Le rôle a été ajouté"); return; }, function (err) { Loading
public/js/components/src/roles.js +3 −1 Original line number Diff line number Diff line Loading @@ -238,7 +238,9 @@ var Roles = Vue.extend({ else { this.$http.post(this.$http.$options.root, this.form).then( (res) => { this.common.roles.push(res.body); var added = res.body; added.principal = (added.principal == 'true'); this.common.roles.push(added); flashMessage('success', "Le rôle a été ajouté"); return; }, Loading