Skip to content

Commit

Permalink
Readding 'custom' object filter
Browse files Browse the repository at this point in the history
  • Loading branch information
GTFalcao committed Oct 31, 2024
1 parent 3c548be commit 361a527
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/gainsight_nxt/gainsight_nxt.app.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default {
description: "The name of the custom object.",
async options() {
const { data } = await this.listCustomObjects();
return data.map(( {
return data?.filter?.((obj) => obj.objectType === "CUSTOM").map(( {
label, objectName,
}) => ({
label,
Expand Down

0 comments on commit 361a527

Please sign in to comment.