truncate id in compact widget

This commit is contained in:
Bradley Cicenas 2020-01-03 12:07:54 +00:00
parent 9aa104fbc6
commit 6fe6e7c316
1 changed files with 3 additions and 0 deletions

View File

@ -35,6 +35,9 @@ func NewCIDCol() CompactCol {
func (w *CIDCol) SetMeta(m models.Meta) {
w.Text = m.Get("id")
if len(w.Text) > 12 {
w.Text = w.Text[:12]
}
}
type NetCol struct {