These two places were using a different character that looks a lot like `c` but is not quite `c`.
@@ -246,7 +246,7 @@ module.exports = class Dashboard extends Plugin {
const editors = this._getEditors(targets)
return editors.some((target) => (
- this.uppy.getPlugin(target.id).сanEditFile(file)
+ this.uppy.getPlugin(target.id).canEditFile(file)
))
}
@@ -61,7 +61,7 @@ module.exports = class ImageEditor extends Plugin {
this.setPluginState() // so that UI re-renders and we see the updated locale
- сanEditFile (file) {
+ canEditFile (file) {
if (!file.type || file.isRemote) {
return false