Files
plane/apps/web/ce/components/estimates/helper.tsx

13 lines
306 B
TypeScript
Raw Permalink Normal View History

import { TEstimateSystemKeys, EEstimateSystem } from "@plane/types";
export const isEstimateSystemEnabled = (key: TEstimateSystemKeys) => {
switch (key) {
case EEstimateSystem.POINTS:
return true;
case EEstimateSystem.CATEGORIES:
return true;
default:
return false;
}
};