Skip to content

Commit c83d047

Browse files
committed
updates
1 parent b13aee7 commit c83d047

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/nuclino/actions/create-item-or-collection/create-item-or-collection.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export default {
6868
index: this.index,
6969
},
7070
});
71-
$.export("$summary", `Successfully created ${this.object} with ID ${response.data.id}`);
71+
$.export("$summary", `Successfully created ${this.object || "item"} with ID ${response.data.id}`);
7272
return response;
7373
},
7474
};

components/nuclino/actions/search-items-or-collections/search-items-or-collections.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export default {
4242
items.push(item);
4343
}
4444

45-
$.export("$summary", `Found ${items.length} item${items.length === "1"
45+
$.export("$summary", `Found ${items.length} item${items.length === 1
4646
? ""
4747
: "s"} matching query`);
4848
return items;

0 commit comments

Comments
 (0)