No longer showing ID of users shared to, will show username or nothing
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<template name="shareDialog">
|
||||
<div>
|
||||
<div>
|
||||
{{#if writers.count}}
|
||||
<div class="subhead">
|
||||
{{#if readers.count}}
|
||||
<div style="font-weight: 500;">
|
||||
Can View
|
||||
</div>
|
||||
{{#each readers}}
|
||||
@@ -10,7 +10,7 @@
|
||||
{{/each}}
|
||||
{{/if}}
|
||||
{{#if writers.count}}
|
||||
<div class="subhead">
|
||||
<div style="font-weight: 500;">
|
||||
Can Edit
|
||||
</div>
|
||||
{{#each writers}}
|
||||
|
||||
@@ -22,7 +22,7 @@ Template.shareDialog.helpers({
|
||||
});
|
||||
|
||||
Template.shareDialog.events({
|
||||
"input #userNameOrEmailInput, change #userNameOrEmailInput":
|
||||
"input #userNameOrEmailInput":
|
||||
function(event, instance){
|
||||
var userName = instance.find("#userNameOrEmailInput").value;
|
||||
instance.userId.set(undefined);
|
||||
|
||||
Reference in New Issue
Block a user