diff options
author | wxiaoguang <wxiaoguang@gmail.com> | 2024-02-04 21:05:01 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-04 13:05:01 +0000 |
commit | b4513f48ce3e748ac621a6f3ddf082feca67e938 (patch) | |
tree | 8bf55d60af8b2df93c81e6bc16ebfd00ecdefee1 /models/user/email_address.go | |
parent | 9bea276055edc9527e3d6d66df3bbf0d20326f8b (diff) | |
download | gitea-b4513f48ce3e748ac621a6f3ddf082feca67e938.tar.gz gitea-b4513f48ce3e748ac621a6f3ddf082feca67e938.zip |
Do not render empty comments (#29039)
Follow #28654
The `comments` might be empty, so the templates shouldn't (and couldn't)
use it to render. When there is no comment, the UI should also be
updated to empty, so returning an empty body is good enough.
Diffstat (limited to 'models/user/email_address.go')
0 files changed, 0 insertions, 0 deletions