mirror of
https://github.com/indentlabs/notebook.git
synced 2025-10-26 11:19:22 +00:00
Don't show invitees to anyone other than content owner
This commit is contained in:
parent
37d94ba461
commit
5aa61e1c76
@ -2,6 +2,7 @@
|
||||
|
||||
<ul class="collection">
|
||||
<% content.contributors.each do |contributor| %>
|
||||
<% next if contributor.user.nil? && (current_user != content.user) %>
|
||||
<li class="collection-item avatar">
|
||||
<i class="material-icons circle white-text">person</i>
|
||||
<span class="title">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user