truncate id in compact widget

This commit is contained in:
Bradley Cicenas 2020-01-03 12:07:54 +00:00
parent 50d1c29d57
commit ca5d40b7cc
No known key found for this signature in database
GPG Key ID: AF579ED4B93CBB5C

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 {