Merge branch 'master' into sort-fix

This commit is contained in:
ednamaeG 2021-03-31 14:56:55 +08:00 committed by GitHub
commit bc7b18abe7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
138 changed files with 27796 additions and 4618 deletions

View file

@ -130,7 +130,7 @@ BlazeComponent.extendComponent({
Filter.reset();
},
'click .js-sort-reset'() {
Session.set('sortBy','')
Session.set('sortBy', '');
},
'click .js-open-search-view'() {
Sidebar.setView('search');
@ -165,9 +165,9 @@ Template.boardHeaderBar.helpers({
boardView() {
return Utils.boardView();
},
isSortActive(){
isSortActive() {
return Session.get('sortBy') ? true : false;
}
},
});
Template.boardChangeViewPopup.events({
@ -412,7 +412,7 @@ BlazeComponent.extendComponent({
Session.set('sortBy', sortBy);
sortCardsBy.set(TAPi18n.__('date-created-oldest-first'));
Popup.close();
}
},
},
];
},