Commit eab6a272 authored by anton's avatar anton

Show author in CellAnnotationList is now optional

parent 43aad633
Pipeline #73237 passed with stage
in 16 seconds
......@@ -356,6 +356,15 @@
error: false,
value: false,
path: 'editable'
},
{
inputType: 'checkbox',
type: 'Annotation-List',
label: 'Show author names',
help: 'Show the names of the annotations\'s authors',
error: false,
value: false,
path: 'showAuthor'
}
/*
{
......
......@@ -53,6 +53,7 @@
:cell="cell",
:locked="locked",
:index="index",
:show-author="showAuthor",
:currentIndex="currentIndex",
:videoDate="getMediaDate()",
@onTimecode="clickAnnotation",
......@@ -152,6 +153,9 @@ export default {
baseMillis () {
if (!this.video) return DateTime.local().toMillis()
return this.video.target.selector._valueMillis + this.playerTime * 1000
},
showAuthor () {
return this.cell && this.cell.source._value && this.cell.source._value.showAuthor
}
},
methods: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment