Skip to content
Snippets Groups Projects
Commit a83e2949 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire: Committed by Reiter, Christoph
Browse files

Simplify function hasEnabledSource (#6)

parent 47ef0c51
No related branches found
No related tags found
No related merge requests found
......@@ -226,9 +226,7 @@ export class FileSource extends ScopedElementsMixin(VPULitElement) {
}
hasEnabledSource(source) {
const enabledSources = this.enabledSources.split(',');
return enabledSources.includes(source);
return this.enabledSources.split(',').includes(source);
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment