Skip to content

Commit

Permalink
missing context_menu_callback binding
Browse files Browse the repository at this point in the history
  • Loading branch information
kennethbruskiewicz committed Aug 21, 2024
1 parent 658455a commit 2cbaebe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/utils/1m.js
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ function makeColumnReadOnly(data_harmonizer, shared_key_name) {
}

// closure to keep track of row data before removal
const createRowDataManager = () => {
const createRowDataManager = (contex_menu_callback) => {
let rowDataBeforeRemoval = {};

return {
Expand Down Expand Up @@ -165,7 +165,7 @@ function setupSharedColumn(
);
} else {
// Initialize the row data manager
const rowDataManager = createRowDataManager();
const rowDataManager = createRowDataManager(contex_menu_callback);

// Add the beforeRemoveRow and afterRemoveRow hooks using addHook
hot.addHook('beforeRemoveRow', rowDataManager.beforeRemoveRow);
Expand Down

0 comments on commit 2cbaebe

Please sign in to comment.