Single Container View: truncate ID

Truncation Id inside of NewSingle() doesn't work.
It even doesn't have any effect.
Instead truncate the ID inside of NewMeta() call
This commit is contained in:
Sergey Ponomarev
2020-11-03 14:11:58 +02:00
parent ecc7bf4081
commit 2bcfc365f7
4 changed files with 5 additions and 9 deletions

View File

@@ -83,7 +83,7 @@ func SingleView() MenuFn {
ui.DefaultEvtStream.ResetHandlers()
defer ui.DefaultEvtStream.ResetHandlers()
ex := single.NewSingle(c.Id)
ex := single.NewSingle()
c.SetUpdater(ex)
ex.Align()