bug fixes
This commit is contained in:
parent
691f944988
commit
8b67a7ee6f
@ -1782,6 +1782,7 @@
|
|||||||
if (!RIBC) return
|
if (!RIBC) return
|
||||||
const allTasks = RIBC.getAllTasks();
|
const allTasks = RIBC.getAllTasks();
|
||||||
const displayedTasks = RIBC.getDisplayedTasks()
|
const displayedTasks = RIBC.getDisplayedTasks()
|
||||||
|
if (!displayedTasks || !Array.isArray(displayedTasks)) return
|
||||||
const filterCategory = category === 'all' ? false : category;
|
const filterCategory = category === 'all' ? false : category;
|
||||||
const filtered = []
|
const filtered = []
|
||||||
const availableCategories = new Set();
|
const availableCategories = new Set();
|
||||||
@ -2407,7 +2408,7 @@
|
|||||||
const filterTasks = debounce((e) => {
|
const filterTasks = debounce((e) => {
|
||||||
const searchQuery = getRef('task_search_input')?.value.trim() || '';
|
const searchQuery = getRef('task_search_input')?.value.trim() || '';
|
||||||
const category = getRef('task_category_selector')?.value || 'all';
|
const category = getRef('task_category_selector')?.value || 'all';
|
||||||
window.location.hash = `#/${appState.currentPage}?category=${category}${searchQuery !== '' ? `&search=${searchQuery}` : ''}`;
|
window.location.hash = `${location.hash.split('?')[0]}?category=${category}${searchQuery !== '' ? `&search=${searchQuery}` : ''}`;
|
||||||
}, 100)
|
}, 100)
|
||||||
|
|
||||||
function showTaskDetails(taskId) {
|
function showTaskDetails(taskId) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user