Skip to content

Commit

Permalink
fix: useAsTitle for coupon
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementNumericite committed Mar 8, 2024
1 parent 5df8917 commit f9f8c52
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webapp/src/payload/collections/Coupon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ export const Coupons: CollectionConfig = {
],
},
admin: {
useAsTitle: 'code',
components: {
BeforeListTable: [ImportCoupons],
},
Expand Down

0 comments on commit f9f8c52

Please sign in to comment.