Fix removing items from file settings

This commit is contained in:
Samuel Elliott 2019-03-28 11:30:43 +00:00
parent 13ac7ae0ff
commit aa55072323
No known key found for this signature in database
GPG Key ID: 8420C7CDE43DC4D6
1 changed files with 1 additions and 1 deletions

View File

@ -51,7 +51,7 @@
},
removeItem(file_path) {
if (this.setting.disabled) return;
this.setting.value = Utils.removeFromArray(this.setting.value, file_path);
this.setting.value = this.setting.value.filter(f => f !== file_path);
}
}
}