提交 c3f5e60e 编写于 作者: A Alfredo Sumaran

Set visibility icon correctly

上级 fd467c93
......@@ -56,6 +56,14 @@ export default {
'no-description': !this.group.description,
};
},
visibilityIcon() {
return {
fa: true,
'fa-globe': this.group.visibility === 'public',
'fa-shield': this.group.visibility === 'internal',
'fa-lock': this.group.visibility === 'private',
};
},
fullPath() {
let fullPath = '';
......@@ -116,7 +124,7 @@ export default {
{{group.numberUsers}}
</span>
<span class="group-visibility">
<i aria-hidden="true" class="fa fa-globe"></i>
<i aria-hidden="true" :class="visibilityIcon"></i>
</span>
</div>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册