FIX: Fix editing built-in badges after removing _.include

We want to send the unprotected fields to the server. Corrects 4c8cfe0f
This commit is contained in:
David Taylor 2018-11-27 15:01:02 +00:00
parent ca84c06c59
commit f993aca363

View File

@ -55,7 +55,7 @@ export default Ember.Controller.extend(BufferedContent, {
if (this.get("buffered.system")) {
var protectedFields = this.get("protectedSystemFields") || [];
fields = _.filter(fields, f => protectedFields.includes(f));
fields = _.filter(fields, f => !protectedFields.includes(f));
}
this.set("saving", true);