Skip to content

Commit

Permalink
fix: add action keys too
Browse files Browse the repository at this point in the history
  • Loading branch information
TwIStOy committed Nov 20, 2023
1 parent 64460c9 commit 88ea0ae
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/core/model/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -186,6 +186,13 @@ export class Plugin {
keySpecs.push(keySpec);
}
}
for (let action of this.actions) {
let keys = action.normalizeKeys();
if (keys.length === 0) continue;
for (let key of keys) {
keySpecs.push(key);
}
}

let opts = tblExtend("force", this._opts.lazy || {}, {
keys: keySpecs,
Expand Down

0 comments on commit 88ea0ae

Please sign in to comment.