12 lines
306 B
TypeScript
12 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;
|
|
}
|
|
};
|