Auto-Close dialogue shows [object Object] when tick box is invoked before topic close time

##Steps to reproduce:

  1. As an Admin click on spanner icon top right within a topic.
  2. Select “Auto Close”.
  3. Check the box “Don’t close until…” before entering any time or number of hours.

7 Likes

I think this is what the author intended, but not 100% sure

@techAPJ (I think) please review and close :slight_smile:

https://github.com/discourse/discourse/commit/2ffe62846b7b0d1bed9e4afe51b4bc298515abc4

5 Likes

Looks good, thanks for the fix @sam! Just pushed another minor fix :slight_smile:

https://github.com/discourse/discourse/commit/0a6ed64ca657b32628a618cddbcb202cbff3c1e5

4 Likes