* WIP * WIP - MultiObjectSearch * WIP * WIP * Finished working version * Fix * Fixed and cleaned * Fix * Disabled files and emails for custom objects * Cleaned console.log * Fixed attachment * Fixed * fix lint --------- Co-authored-by: Charles Bochet <charles@twenty.com>
12 lines
308 B
TypeScript
12 lines
308 B
TypeScript
import { ObjectMetadataItem } from '@/object-metadata/types/ObjectMetadataItem';
|
|
|
|
export const getBasePathToShowPage = ({
|
|
objectMetadataItem,
|
|
}: {
|
|
objectMetadataItem: ObjectMetadataItem;
|
|
}) => {
|
|
const basePathToShowPage = `/object/${objectMetadataItem.nameSingular}/`;
|
|
|
|
return basePathToShowPage;
|
|
};
|