umputun / remark42

comment engine
https://remark42.com
MIT License
4.81k stars 374 forks source link

Collect /find Info for tree and plain types consistently #1685

Closed paskal closed 5 months ago

paskal commented 10 months ago

MakeTree calculated Info locally for historical reasons, and the results were consistent with the dataService.Info call but calculated differently. Requesting plain format comments, on the other hand, had a problem with not returning the read-only status of the page if it doesn't have any comments yet.

That change fixes that, ensuring that Info is requested in the same manner and the read-only status is returned correctly in case the post doesn't have comments but has such a status.

github-actions[bot] commented 10 months ago

Pull Request Test Coverage Report for Build 8008368310

Details


Totals Coverage Status
Change from base Build 7992566957: -0.02%
Covered Lines: 5969
Relevant Lines: 7033

💛 - Coveralls