mirror of
https://github.com/wekan/wekan.git
synced 2025-12-17 07:50:12 +01:00
fixed few overseights
This commit is contained in:
parent
606dbbbbf2
commit
35778d2673
3 changed files with 2 additions and 3 deletions
|
|
@ -1,4 +1,3 @@
|
||||||
|
|
||||||
@import 'nib'
|
@import 'nib'
|
||||||
|
|
||||||
global-reset()
|
global-reset()
|
||||||
|
|
|
||||||
|
|
@ -106,7 +106,7 @@ Template.changeSettingsPopup.events({
|
||||||
},
|
},
|
||||||
'click .js-apply-show-cards-at'(evt, tpl) {
|
'click .js-apply-show-cards-at'(evt, tpl) {
|
||||||
evt.preventDefault();
|
evt.preventDefault();
|
||||||
const minLimit = parseInt(tpl.$('#show-cards-count-at').val());
|
const minLimit = parseInt(tpl.$('#show-cards-count-at').val(), 10);
|
||||||
if (!isNaN(minLimit)) {
|
if (!isNaN(minLimit)) {
|
||||||
Meteor.call('changeLimitToShowCardsCount', minLimit);
|
Meteor.call('changeLimitToShowCardsCount', minLimit);
|
||||||
Popup.back();
|
Popup.back();
|
||||||
|
|
|
||||||
|
|
@ -315,7 +315,7 @@ Meteor.methods({
|
||||||
changeLimitToShowCardsCount(limit) {
|
changeLimitToShowCardsCount(limit) {
|
||||||
check(limit, Number);
|
check(limit, Number);
|
||||||
Meteor.user().setShowCardsCountAt(limit);
|
Meteor.user().setShowCardsCountAt(limit);
|
||||||
}
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
if (Meteor.isServer) {
|
if (Meteor.isServer) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue