Unverified Commit 694e27b2 authored by Robert Knight's avatar Robert Knight Committed by GitHub

Merge pull request #699 from hypothesis/fix-group-icon-inconsistencies

Update icon for restricted groups in publish-annotation-button
parents 18f59a97 4d5ed645
......@@ -15,7 +15,7 @@ module.exports = {
};
this.groupCategory = function () {
return this.group.type === 'private' ? 'group' : 'public';
return this.group.type === 'open' ? 'public' : 'group';
};
this.setPrivacy = function (level) {
......
......@@ -50,7 +50,7 @@ describe('publishAnnotationBtn', function () {
},
{
groupType: 'restricted',
expectedIcon: 'public',
expectedIcon: 'group',
},
{
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