Skip to content

Commit 5a5607b

Browse files
committed
fix: correct README route in GetTemplateAPIRouteType enum and export MAX_DESCRIPTION_LENGTH constant
1 parent 44ba433 commit 5a5607b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Pages/Applications/DevtronApps/Details/AppConfigurations/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export enum GetTemplateAPIRouteType {
7474
CONFIG_SECRET_CREATE = 'config/secret',
7575
WORKFLOW_LIST = 'workflow/list',
7676
OVERVIEW = 'overview',
77-
README = 'overview',
77+
README = 'readme',
7878
}
7979

8080
export interface GetTemplateAPIRouteProps {

src/Shared/validations.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export const MESSAGES = {
3939
DATE_BEFORE_CURRENT_TIME: 'The date & time cannot be before the current time',
4040
}
4141

42-
const MAX_DESCRIPTION_LENGTH = 350
42+
export const MAX_DESCRIPTION_LENGTH = 350
4343
const DISPLAY_NAME_CONSTRAINTS = {
4444
MAX_LIMIT: 50,
4545
MIN_LIMIT: 3,

0 commit comments

Comments
 (0)