Add 'archived' property to Zotero.Library objects
Set when a user loses access to a library but chooses to keep it as a read-only library.
This commit is contained in:
parent
88184b341b
commit
9ac458e05c
5 changed files with 53 additions and 4 deletions
|
@ -311,6 +311,7 @@ var createGroup = Zotero.Promise.coroutine(function* (props = {}) {
|
|||
if (props.libraryVersion) {
|
||||
group.libraryVersion = props.libraryVersion;
|
||||
}
|
||||
group.archived = props.archived === undefined ? false : props.archived;
|
||||
yield group.saveTx();
|
||||
return group;
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue