Apply suggestions from code review

Co-authored-by: Fredrik Adelöw <freben@gmail.com>
This commit is contained in:
Oliver Sand
2020-11-26 16:40:18 +01:00
committed by GitHub
parent 6f70ed7a95
commit 032aba5920
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -22,7 +22,7 @@ import { EntityPageApi } from './EntityPageApi';
import { MissingImplementsApisEmptyState } from './MissingImplementsApisEmptyState';
const isPluginApplicableToEntity = (entity: Entity) => {
// TODO: Als support RELATION_CONSUMES_API
// TODO: Also support RELATION_CONSUMES_API
return entity.relations?.some(r => r.type === RELATION_PROVIDES_API);
};