mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 07:20:12 +01:00
Fixed lint.
Thanks to xet7 !
This commit is contained in:
parent
d57eb6a2fc
commit
60fedad3fe
3 changed files with 31 additions and 19 deletions
|
|
@ -9,6 +9,9 @@ and fixes the following bugs:
|
||||||
|
|
||||||
- [Fix bug in adding new users](https://github.com/wekan/wekan/pull/3544).
|
- [Fix bug in adding new users](https://github.com/wekan/wekan/pull/3544).
|
||||||
Thanks to jrsupplee.
|
Thanks to jrsupplee.
|
||||||
|
- [Issue - Deleting a linked card blocked the parent board to load
|
||||||
|
- [Fixed Board does not load, by disabling Custom Fields sorting](https://github.com/wekan/wekan/commit/d57eb6a2fc73c7b25c957ad42b5f7a06f680e1a1).
|
||||||
|
Thanks to marcungeschikts, olivierlambert and xet7.
|
||||||
|
|
||||||
Thanks to above GitHub users for their contributions and translators for their translations.
|
Thanks to above GitHub users for their contributions and translators for their translations.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -31,30 +31,39 @@ BlazeComponent.extendComponent({
|
||||||
},
|
},
|
||||||
|
|
||||||
archivedCards() {
|
archivedCards() {
|
||||||
return Cards.find({
|
return Cards.find(
|
||||||
archived: true,
|
{
|
||||||
boardId: Session.get('currentBoard'),
|
archived: true,
|
||||||
}, {
|
boardId: Session.get('currentBoard'),
|
||||||
sort: { archivedAt: -1, modifiedAt: -1 },
|
},
|
||||||
});
|
{
|
||||||
|
sort: { archivedAt: -1, modifiedAt: -1 },
|
||||||
|
},
|
||||||
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
archivedLists() {
|
archivedLists() {
|
||||||
return Lists.find({
|
return Lists.find(
|
||||||
archived: true,
|
{
|
||||||
boardId: Session.get('currentBoard'),
|
archived: true,
|
||||||
}, {
|
boardId: Session.get('currentBoard'),
|
||||||
sort: { archivedAt: -1, modifiedAt: -1 },
|
},
|
||||||
});
|
{
|
||||||
|
sort: { archivedAt: -1, modifiedAt: -1 },
|
||||||
|
},
|
||||||
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
archivedSwimlanes() {
|
archivedSwimlanes() {
|
||||||
return Swimlanes.find({
|
return Swimlanes.find(
|
||||||
archived: true,
|
{
|
||||||
boardId: Session.get('currentBoard'),
|
archived: true,
|
||||||
}, {
|
boardId: Session.get('currentBoard'),
|
||||||
sort: { archivedAt: -1, modifiedAt: -1 },
|
},
|
||||||
});
|
{
|
||||||
|
sort: { archivedAt: -1, modifiedAt: -1 },
|
||||||
|
},
|
||||||
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
cardIsInArchivedList() {
|
cardIsInArchivedList() {
|
||||||
|
|
|
||||||
|
|
@ -274,7 +274,7 @@ Template.changeSettingsPopup.events({
|
||||||
'keypress/paste #show-cards-count-at'() {
|
'keypress/paste #show-cards-count-at'() {
|
||||||
let keyCode = event.keyCode;
|
let keyCode = event.keyCode;
|
||||||
let charCode = String.fromCharCode(keyCode);
|
let charCode = String.fromCharCode(keyCode);
|
||||||
let regex = new RegExp("[-0-9]");
|
let regex = new RegExp('[-0-9]');
|
||||||
let ret = regex.test(charCode);
|
let ret = regex.test(charCode);
|
||||||
return ret;
|
return ret;
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue