mirror of
https://github.com/makeplane/plane.git
synced 2025-12-23 07:09:34 +01:00
13 lines
306 B
TypeScript
13 lines
306 B
TypeScript
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;
|
|
}
|
|
};
|