Skip to content

Commit

Permalink
cleanup console log
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethbruskiewicz committed Sep 16, 2024
1 parent c4b887a commit 8055771
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 1 addition & 2 deletions lib/DataHarmonizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,6 @@ class DataHarmonizer {
// Insert the new rows below the last existing row
this.hot.alter('insert_row_below', startRowIndex, numRows);
// Validate and process the current selection
console.log('addRowsToBottom', this.context.currentSelection);
if (this.context.currentSelection.valueToMatch !== null) {
// Find the nearest index after the last non-empty row in the specified column
const baseColCoord = this.findNearestIndexAfterLastNonEmpty(0);
Expand Down Expand Up @@ -989,7 +988,7 @@ class DataHarmonizer {
}

hideMatchingRows(columnIndex, valueToMatch = null) {
console.log('hideMatchingRows', columnIndex, valueToMatch);

function resetHiddenRows(hotInstance) {
const hiddenRowsPlugin = hotInstance.getPlugin('hiddenRows');
hiddenRowsPlugin.showRows(hiddenRowsPlugin.getHiddenRows()); // Reset any previously hidden rows
Expand Down
2 changes: 0 additions & 2 deletions lib/utils/1m.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ const calculateKeyIndex = (schema) => (cls_key) => (slot_name) => {
const findUniqueKeysForClass = (schema) => (cls_key) => {
let unique_keys_acc = {};
const sc = SchemaClasses(schema);
console.log(sc, cls_key);

const foreignKeySlotsPerClassMap = findForeignKeySlotsToMap(schema);
const slots = sc[cls_key].attributes;
Expand Down Expand Up @@ -819,7 +818,6 @@ export const setup1M =
destroyHandsontableUpdateRouter();
for (let dh in dhs) {
if (dh in appContext) {
console.log('setting up 1M for', dhs, dh);
makeColumnsReadOnly(appContext)(dhs[dh]);
bindReadEmitter(appContext)(dhs[dh]);
if (DEBUG) bindKeyConstraintValidation(appContext)(dhs[dh]);
Expand Down

0 comments on commit 8055771

Please sign in to comment.