entity dispay

This commit is contained in:
ari committed 2022-06-19 02:11:25 -04:00
1 parent dde8d76772
commit ae352ff244
2 files changed
+13 -6

No files matched your search

@@ -52,11 +52,7 @@ export const InputEntity: FC<InputEntityProps> = (props) => {
options={options}
getID={entities.getID}
getLabel={entities.getLabel}
groupBy={(opt) =>
typeof opt !== "string"
? `${prettyName(opt.integration)}/ ${prettyName(opt.domain)}`
: ""
}
groupBy={(opt) => (typeof opt !== "string" ? prettyName(opt.domain) : "")}
/>
);
};