Skip to content

The open alternative to Salesforce, designed for AI.

339 B
Raw Blame
import { PageLayoutType } from '~/generated-metadata/graphql';

export const shouldEnableTabEditingFeatures = (
  pageLayoutType: PageLayoutType,
): boolean => {
  return (
    pageLayoutType === PageLayoutType.DASHBOARD ||
    pageLayoutType === PageLayoutType.STANDALONE_PAGE ||
    pageLayoutType === PageLayoutType.RECORD_PAGE
  );
};