Skip to content

Commit

Permalink
Removed console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
GilbertCherrie committed Jan 9, 2025
1 parent 508d6e1 commit fbfc57b
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions app/javascript/components/gtl-view.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,6 @@ const getData = (
additionalOptions, // ?: any): ng.IPromise<IRowsColsResponse> {
namedScope,
) => {
console.log(modelName);
console.log(settings);
dispatch({ type: 'isLoading', isLoading: true });
if (additionalOptions.persistentNamedScope) {
additionalOptions.named_scope = additionalOptions.persistentNamedScope;
Expand Down Expand Up @@ -294,8 +292,6 @@ const GtlView = ({
noFlashDiv,
}) => {
// const { settings, data } = props;
console.log(pages);
console.log(modelName);
if (pages && pages.perpage) {
initialState.settings.perpage = pages.perpage;
}
Expand Down Expand Up @@ -386,20 +382,16 @@ const GtlView = ({
additionalOptions,
);

const onPerPageSelect = (perPage) => {
console.log(perPage);
console.log(modelName);
return getData(
dispatch,
modelName,
activeTree,
parentId,
isExplorer,
setPaging(settings, 0, perPage),
records,
additionalOptions
);
};
const onPerPageSelect = (perPage) => getData(
dispatch,
modelName,
activeTree,
parentId,
isExplorer,
setPaging(settings, 0, perPage),
records,
additionalOptions
);

/** Function execution when a page or perPage is changed in carbon pagination events. */
const onPageChange = (page, perPage) => getData(
Expand Down

0 comments on commit fbfc57b

Please sign in to comment.