Unverified Commit 90dae12b authored by Robert Knight's avatar Robert Knight Committed by GitHub

Merge pull request #685 from hypothesis/restricted-logo

Show the world icon only for open groups in the groups dropdown.
parents 9d5a6caf 723a07a1
......@@ -5,7 +5,7 @@
dropdown-toggle
data-toggle="dropdown"
role="button"
ng-switch on="vm.groups.focused().public"
ng-switch on="vm.groups.focused().type == 'open'"
title="Change the selected group">
<img class="group-list-label__icon group-list-label__icon--third-party"
ng-src="{{ vm.thirdPartyGroupIcon }}"
......@@ -26,7 +26,7 @@
<div ng-class="{'group-item': true, selected: group.id == vm.groups.focused().id}"
ng-click="vm.focusGroup(group.id)">
<!-- the group icon !-->
<div class="group-icon-container" ng-switch on="group.public">
<div class="group-icon-container" ng-switch on="group.type == 'open'">
<img class="group-list-label__icon group-list-label__icon--third-party"
ng-src="{{ vm.thirdPartyGroupIcon }}"
ng-if="vm.thirdPartyGroupIcon"
......
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