mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
added i18n translation, minor fix
This commit is contained in:
parent
214fe6a61f
commit
f77da76c68
6 changed files with 16 additions and 7 deletions
|
|
@ -93,10 +93,10 @@ BlazeComponent.extendComponent({
|
|||
enableWipLimit() {
|
||||
const list = Template.currentData();
|
||||
// Prevent user from using previously stored wipLimit.value if it is less than the current number of cards in the list
|
||||
if(list.getWipLimit() && !list.wipLimit.enabled && list.wipLimit.value < list.cards().count()){
|
||||
if(list.getWipLimit() && !list.getWipLimit('enabled') && list.getWipLimit('value') < list.cards().count()){
|
||||
list.setWipLimit(list.cards().count());
|
||||
}
|
||||
Meteor.call('enableWipLimit', Template.currentData()._id);
|
||||
Meteor.call('enableWipLimit', list._id);
|
||||
},
|
||||
|
||||
isWipLimitEnabled() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue