Allow setting note text with createDataObject('item') test function
This commit is contained in:
parent
4867fc7e03
commit
7609ef35bc
1 changed files with 3 additions and 0 deletions
|
@ -417,6 +417,9 @@ function createUnsavedDataObject(objectType, params = {}) {
|
|||
if (params.tags !== undefined) {
|
||||
obj.setTags(params.tags);
|
||||
}
|
||||
if (params.note !== undefined) {
|
||||
obj.setNote(params.note);
|
||||
}
|
||||
break;
|
||||
|
||||
case 'collection':
|
||||
|
|
Loading…
Add table
Reference in a new issue