feat: init
This commit is contained in:
13
apps/web/ce/components/estimates/helper.tsx
Normal file
13
apps/web/ce/components/estimates/helper.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import type { TEstimateSystemKeys } from "@plane/types";
|
||||
import { EEstimateSystem } from "@plane/types";
|
||||
|
||||
export const isEstimateSystemEnabled = (key: TEstimateSystemKeys) => {
|
||||
switch (key) {
|
||||
case EEstimateSystem.POINTS:
|
||||
return true;
|
||||
case EEstimateSystem.CATEGORIES:
|
||||
return true;
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user