Skip to content

Commit

Permalink
Merge pull request #162 from windingwind/bootstrap
Browse files Browse the repository at this point in the history
Fix custom column persist
  • Loading branch information
redleafnew authored Jul 10, 2024
2 parents 2f9c8ac + da196a2 commit b2ec4c4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/examples.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1651,6 +1651,7 @@ export class UIExampleFactory {
dataKey: opt.dataKey || key,
label: getString(opt.dataKey || key),
pluginID: config.addonID,
zoteroPersist: ['width', 'hidden', 'sortDirection'],
dataProvider: (item) => {
return ztoolkit.ExtraField.getExtraField(item, opt.field || key) || "";
}
Expand Down

0 comments on commit b2ec4c4

Please sign in to comment.