No longer showing ID of users shared to, will show username or nothing

This commit is contained in:
Stefan Zermatten
2015-04-29 07:53:00 +02:00
parent 31e7b8d610
commit 56957e0ef0
2 changed files with 4 additions and 4 deletions

View File

@@ -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}}

View File

@@ -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);