Set the current author name when creating an annotation in a group

Fixes #2322
This commit is contained in:
Martynas Bagdonas 2022-02-21 18:04:41 +02:00
parent 04fa89ffc8
commit 822f821718
2 changed files with 2 additions and 1 deletions

View file

@ -77,6 +77,7 @@ class ReaderInstance {
state,
location,
readOnly: this._isReadOnly(),
authorName: item.library.libraryType === 'group' ? Zotero.Users.getCurrentName() : '',
showItemPaneToggle: this._showItemPaneToggle,
sidebarWidth: this._sidebarWidth,
sidebarOpen: this._sidebarOpen,

@ -1 +1 @@
Subproject commit c5b1bc4dfd88001f0e92ff82dc264f514eb00984
Subproject commit 13aa2cf7f1e23f631d4dd173207741abd44b6510