This commit is contained in:
Ruichka 2025-03-08 15:53:00 +03:00
parent 259e1df73e
commit 5bf6afdcd2
2 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,7 @@ function overviewRegiments(state) {
<fill-box data-tip="${s.fullName}" fill="${s.color}" disabled></fill-box>
<input data-tip="${s.fullName}" style="width:6em" value="${s.name}" readonly />
${
r.icon.startsWith("http") || url.startsWith("data:image")
r.icon.startsWith("http") || r.icon.startsWith("data:image")
? `<img src="${r.icon}" data-tip="Regiment's emblem" style="width:1.2em; height:1.2em; vertical-align: middle;">`
: `<span data-tip="Regiment's emblem" style="width:1em">${r.icon}</span>`
}