Display visibility if available.
This commit is contained in:
parent
959b2d9d66
commit
f06fef26b1
14 changed files with 91 additions and 20 deletions
|
@ -104,6 +104,18 @@ const Status = {
|
|||
StillImage
|
||||
},
|
||||
methods: {
|
||||
visibilityIcon(visibility) {
|
||||
switch(visibility) {
|
||||
case "private":
|
||||
return "icon-lock"
|
||||
case "unlisted":
|
||||
return "icon-lock-open-alt"
|
||||
case "direct":
|
||||
return "icon-mail-alt"
|
||||
default:
|
||||
return "icon-globe"
|
||||
}
|
||||
},
|
||||
linkClicked ({target}) {
|
||||
if (target.tagName === 'SPAN') {
|
||||
target = target.parentNode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue