mirror of https://github.com/m-labs/artiq.git
browser: add metadata param to short_format
This commit is contained in:
parent
7791f85a1a
commit
5292a8de82
|
@ -20,7 +20,7 @@ class Model(DictSyncTreeSepModel):
|
||||||
DictSyncTreeSepModel.__init__(self, ".", ["Dataset", "Value"], init)
|
DictSyncTreeSepModel.__init__(self, ".", ["Dataset", "Value"], init)
|
||||||
|
|
||||||
def convert(self, k, v, column):
|
def convert(self, k, v, column):
|
||||||
return short_format(v[1])
|
return short_format(v[1], v[2])
|
||||||
|
|
||||||
|
|
||||||
class DatasetCtl:
|
class DatasetCtl:
|
||||||
|
|
Loading…
Reference in New Issue