mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
Merge branch 'master' of github.com:wekan/wekan
This commit is contained in:
commit
0f0a5fba1f
1 changed files with 0 additions and 4 deletions
|
|
@ -48,8 +48,6 @@ Utils = {
|
||||||
let sort = window.localStorage.getItem('myCardsSort');
|
let sort = window.localStorage.getItem('myCardsSort');
|
||||||
|
|
||||||
if (!sort || !['board', 'dueAt'].includes(sort)) {
|
if (!sort || !['board', 'dueAt'].includes(sort)) {
|
||||||
window.localStorage.setItem('myCardsSort', 'board');
|
|
||||||
location.reload();
|
|
||||||
sort = 'board';
|
sort = 'board';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -81,8 +79,6 @@ Utils = {
|
||||||
let view = window.localStorage.getItem('dueCardsView');
|
let view = window.localStorage.getItem('dueCardsView');
|
||||||
|
|
||||||
if (!view || !['me', 'all'].includes(view)) {
|
if (!view || !['me', 'all'].includes(view)) {
|
||||||
window.localStorage.setItem('dueCardsView', 'me');
|
|
||||||
location.reload();
|
|
||||||
view = 'me';
|
view = 'me';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue