Commit 4d5ed645 authored by Lyza Danger Gardner's avatar Lyza Danger Gardner

Make publish annotation drop-down show `group` icon for restricted groups

parent 18f59a97
...@@ -15,7 +15,7 @@ module.exports = { ...@@ -15,7 +15,7 @@ module.exports = {
}; };
this.groupCategory = function () { this.groupCategory = function () {
return this.group.type === 'private' ? 'group' : 'public'; return this.group.type === 'open' ? 'public' : 'group';
}; };
this.setPrivacy = function (level) { this.setPrivacy = function (level) {
......
...@@ -50,7 +50,7 @@ describe('publishAnnotationBtn', function () { ...@@ -50,7 +50,7 @@ describe('publishAnnotationBtn', function () {
}, },
{ {
groupType: 'restricted', groupType: 'restricted',
expectedIcon: 'public', expectedIcon: 'group',
}, },
{ {
groupType: 'private', groupType: 'private',
......
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