mirror of
https://github.com/zotero/zotero.git
synced 2026-08-28 05:25:31 +00:00
Make Item Pane display the item count on Zotero startup
This commit is contained in:
parent
786960079b
commit
8277277948
1 changed files with 4 additions and 0 deletions
|
|
@ -1619,6 +1619,10 @@ var ZoteroPane = new function () {
|
|||
emptyMessage: Zotero.getString('pane.items.loading')
|
||||
});
|
||||
ZoteroPane.itemsView.onRefresh.addListener(() => ZoteroPane.setTagScope());
|
||||
// Update itemPane on initial load
|
||||
ZoteroPane.itemsView.onRefresh.addListener(async () => {
|
||||
await ZoteroPane.itemSelected();
|
||||
}, true);
|
||||
ZoteroPane.itemsView.waitForLoad().then(() => Zotero.uiIsReady());
|
||||
|
||||
ItemTreeMenuBar.setItemTreeSortKeys(ZoteroPane.itemsView);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue