dont show list options

This commit is contained in:
Ryan Helsing 2017-03-18 15:27:24 -04:00
parent 383daf6f64
commit cf85c9c6cd
2 changed files with 11 additions and 11 deletions

View file

@ -26,16 +26,17 @@ template(name="listActionPopup")
ul.pop-over-list
li: a.js-toggle-watch-list {{#if isWatching}}{{_ 'unwatch'}}{{else}}{{_ 'watch'}}{{/if}}
hr
ul.pop-over-list
li: a.js-add-card {{_ 'add-card'}}
if cards.count
li: a.js-select-cards {{_ 'list-select-cards'}}
hr
ul.pop-over-list
li: a.js-close-list {{_ 'archive-list'}}
hr
ul.pop-over-list
li: a.js-remove-list {{_ 'remove-list'}}
unless currentUser.isCommentOnly
ul.pop-over-list
li: a.js-add-card {{_ 'add-card'}}
if cards.count
li: a.js-select-cards {{_ 'list-select-cards'}}
hr
ul.pop-over-list
li: a.js-close-list {{_ 'archive-list'}}
hr
ul.pop-over-list
li: a.js-remove-list {{_ 'remove-list'}}
template(name="boardLists")
ul.pop-over-list

View file

@ -323,7 +323,6 @@ Template.changePermissionsPopup.events({
const memberId = this.userId;
const isAdmin = $(event.currentTarget).hasClass('js-set-admin');
const isCommentOnly = $(event.currentTarget).hasClass('js-set-comment-only');
console.log(isCommentOnly)
currentBoard.setMemberPermission(memberId, isAdmin, isCommentOnly);
Popup.back(1);
},