diff options
author | Hester Gong <hestergong@gmail.com> | 2023-03-07 23:08:22 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-07 23:08:22 +0800 |
commit | a2f44463f07cc184b0d6ca1655d1f26d75491896 (patch) | |
tree | 60257263a41c32760e9c0e1136e2e43720f9e2d0 /modules | |
parent | 4c59c8c7682da31410decba3bd868fde5116e073 (diff) | |
download | gitea-a2f44463f07cc184b0d6ca1655d1f26d75491896.tar.gz gitea-a2f44463f07cc184b0d6ca1655d1f26d75491896.zip |
Fix adding of empty class name (#23352)
This PR is to fix the error shown below. The reason is because
[`class-name`
prop](https://github.com/go-gitea/gitea/blob/main/web_src/js/components/ActionRunStatus.vue#L6)
given to `svg` component has a space, and classList cannot add empty
string.
https://user-images.githubusercontent.com/17645053/223346720-c7f9de43-5e69-4ecf-93c0-90bf04090693.mov
---------
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
Diffstat (limited to 'modules')
0 files changed, 0 insertions, 0 deletions