Commit 1bba4298 authored by Randall Leeds's avatar Randall Leeds

Show privacy dropdown even on empty permissions

It is fine if the permissions are initially undefined.
Fix #1747
parent 65cbfbc5
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
<!-- Editing controls --> <!-- Editing controls -->
<aside class="pull-right" ng-if="vm.editing"> <aside class="pull-right" ng-if="vm.editing">
<privacy ng-click="$event.stopPropagation()" <privacy ng-click="$event.stopPropagation()"
ng-if="vm.annotation.permissions && vm.editing && action != 'delete'" ng-if="vm.editing && action != 'delete'"
ng-model="vm.annotation.permissions" ng-model="vm.annotation.permissions"
user="{{vm.annotation.user}}" user="{{vm.annotation.user}}"
class="dropdown privacy pull-right" class="dropdown privacy pull-right"
......
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