Skip to content

Commit

Permalink
#371 - Event script loading bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Yi-Jacob committed Nov 25, 2024
1 parent 6546d9e commit e3d7e95
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/adf-event-scripts/resolvers/events.resolver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export const eventsResolver: ResolveFn<
value: true,
},
],
limit: 0,
limit: 10,
includeCount: false,
});
};
4 changes: 2 additions & 2 deletions src/app/shared/constants/scripts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ export const SCRIPT_TYPES = [
extension: 'php',
},
{
label: translate('scriptTypes.python'),
value: AceEditorMode.PYTHON,
label: translate('scriptTypes.python3'),
value: AceEditorMode.PYTHON3,
extension: 'py',
},
];
2 changes: 1 addition & 1 deletion src/app/shared/types/scripts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ export enum AceEditorMode {
NODEJS = 'nodejs',
PHP = 'php',
PYTHON = 'python',
PYTHON3 = 'python',
PYTHON3 = 'python3',
JAVASCRIPT = 'javascript',
}

Expand Down
1 change: 1 addition & 0 deletions src/assets/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@
"javascript": "JavaScript",
"php": "PHP",
"python": "Python",
"python3": "Python3",
"nodejs": "Node.js"
},
"nav": {
Expand Down

0 comments on commit e3d7e95

Please sign in to comment.