mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-29 00:47:01 +00:00
531df811da
Co-authored-by: Steve Faulkner <southpolesteve@gmail.com>
10 lines
181 B
TypeScript
10 lines
181 B
TypeScript
import { userContext } from "../UserContext";
|
|
|
|
export const getEntityName = (): string => {
|
|
if (userContext.apiType === "Mongo") {
|
|
return "document";
|
|
}
|
|
|
|
return "item";
|
|
};
|