mirror of
https://github.com/wekan/wekan.git
synced 2025-12-22 02:10:12 +01:00
My Cards development
* Popup.open() not working so simply toggle between board sort and 'due by' * clean-up CSS classes * code clean-up
This commit is contained in:
parent
1ea99a5dc8
commit
e55b50bc5a
4 changed files with 79 additions and 82 deletions
|
|
@ -56,6 +56,14 @@ Utils = {
|
|||
return sort;
|
||||
},
|
||||
|
||||
myCardsSortToggle() {
|
||||
if (this.myCardsSort() === 'board') {
|
||||
this.setMyCardsSort('dueAt');
|
||||
} else {
|
||||
this.setMyCardsSort('board');
|
||||
}
|
||||
},
|
||||
|
||||
setMyCardsSort(sort) {
|
||||
window.localStorage.setItem('myCardsSort', sort);
|
||||
location.reload();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue