mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-24 11:21:23 +00:00
11 lines
300 B
TypeScript
11 lines
300 B
TypeScript
import { DefaultAccountExperienceType } from "../DefaultAccountExperienceType";
|
|
import { userContext } from "../UserContext";
|
|
|
|
export const getEntityName = (): string => {
|
|
if (userContext.defaultExperience === DefaultAccountExperienceType.MongoDB) {
|
|
return "document";
|
|
}
|
|
|
|
return "item";
|
|
};
|