# 📄 Copy Post Component

**URL:** <https://meta.discourse.org/t/copy-post-component/218883>\
**Category:** Theme component\
**Tags:** official, copy-post\
**Created:** [February 20, 2022, 3:51pm UTC](https://meta.discourse.org/t/copy-post-component/218883 "2022-02-20T15:51:40Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![keegan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/keegan/32/383395_2.png) [@keegan](https://meta.discourse.org/u/keegan)\
**Post date:** [May 2, 2022, 6:50pm UTC](https://meta.discourse.org/t/copy-post-component/218883/19 "2022-05-02T18:50:22Z")

</div>

> [@geoff777](#):
>
> I set min\_trust\_level as an integer

Ah sorry, my mistake, I thought you meant you changed the strings in the enum to integers, but you meant you used the integer type instead. Yes, that seems like a better approach. I’ve [updated the theme component](https://github.com/keegangeorge/discourse-copy-post/commit/6205c369f5ce7eb3b5def3871f1b4fc94530d064) to support that. Hopefully this should fix any of the issues.

---

_[View the full topic](https://meta.discourse.org/t/copy-post-component/218883)._
