FIX: Missing action to show login modal on group page.
This commit is contained in:
parent
68300f515c
commit
a4e7657bbf
|
@ -11,10 +11,6 @@ export default Ember.Controller.extend({
|
|||
actions: {
|
||||
loadMore() {
|
||||
this.get('groups').loadMore();
|
||||
},
|
||||
|
||||
showLogin() {
|
||||
return this.get('application').send('appRouteAction', 'showLogin');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
|
@ -1,7 +1,8 @@
|
|||
{{#if hasMembers}}
|
||||
{{group-membership-button model=model
|
||||
createNewMessageViaParams='createNewMessageViaParams'}}
|
||||
{{group-membership-button model=model
|
||||
createNewMessageViaParams='createNewMessageViaParams'
|
||||
showLogin='showLogin'}}
|
||||
|
||||
{{#if hasMembers}}
|
||||
{{#load-more selector=".group-members tr" action="loadMore"}}
|
||||
<table class='group-members'>
|
||||
<thead>
|
||||
|
@ -32,5 +33,7 @@
|
|||
|
||||
{{conditional-loading-spinner condition=loading}}
|
||||
{{else}}
|
||||
<br>
|
||||
|
||||
<div>{{i18n "groups.empty.members"}}</div>
|
||||
{{/if}}
|
||||
|
|
Loading…
Reference in New Issue