# EmbeddableHost category section is blank

**URL:** https://meta.discourse.org/t/embeddablehost-category-section-is-blank/196218
**Category:** Bug
**Created:** [July 6, 2021, 11:11am UTC](https://meta.discourse.org/t/embeddablehost-category-section-is-blank/196218 "2021-07-06T11:11:03Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![AquaL1te](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aqual1te/32/201966_2.png) [@AquaL1te](https://meta.discourse.org/u/AquaL1te)
#### Post date: [July 6, 2021, 11:11am UTC](https://meta.discourse.org/t/embeddablehost-category-section-is-blank/196218/1 "2021-07-06T11:11:03Z")

</div>

Since the last update the “post to category” sections are blanked out. Also when I modify that section and save it, it’s gone when I refresh the page. Anyone else experiencing this? The RSS feeds do place things in the correct category though.

 ![Screenshot from 2021-07-06 12-57-51](https://global.discourse-cdn.com/meta/original/3X/0/1/01eac2d06df287dc9e3ebc3fedd94aa0d249794e.png)

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [July 6, 2021, 5:57pm UTC](https://meta.discourse.org/t/embeddablehost-category-section-is-blank/196218/2 "2021-07-06T17:57:21Z")

</div>

> [@AquaL1te](#):
>
> Since the last update the “post to category” sections are blanked out. Also when I modify that section and save it, it’s gone when I refresh the page. Anyone else experiencing this?

Thanks for reporting this! I can reproduce the issue on my site. We will look into what is going wrong and get it fixed.

Edit: I’ve moved your post to a new topic in the #Contribute > Bug category. When I test this on my site what I’m finding is that when first creating a host record, the category is correctly displayed. The category is not displayed for any existing host records though. If I refresh the page, the category that I have set for the new host record also disappears. The category is correctly set in the database.

The issue seems to be happening here:

> <https://github.com/discourse/discourse/blob/dc6b547ed89f652b5406489d76140b76cf8e0d1d/app/assets/javascripts/admin/addon/templates/components/embeddable-host.hbs#L30>

When I log `host.category`, it returns `nil`. `host.category_id` returns the expected value though.`
