File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 4949 );
5050 };
5151
52- let searchWordsOrURL = $state (' ' );
52+ let searchQueryOrURL = $state (' ' );
5353 let filteredTasks = $derived (
5454 tasks
55- .filter ((task : Task ) => isMatched (task , searchWordsOrURL ))
55+ .filter ((task : Task ) => isMatched (task , searchQueryOrURL ))
5656 .slice (0 , 30 )
5757 .sort ((firstTask : Task , secondTask : Task ) =>
5858 firstTask .task_table_index .localeCompare (secondTask .task_table_index ),
105105 type =" search"
106106 placeholder =" 問題名かURLを入力してください。"
107107 class =" flex-grow space-y-2"
108- bind:value ={searchWordsOrURL }
108+ bind:value ={searchQueryOrURL }
109109 onchange ={(e ) => {
110110 if (e .target instanceof HTMLInputElement ) {
111- searchWordsOrURL = e .target .value ;
111+ searchQueryOrURL = e .target .value ;
112112 focusingId = PENDING ;
113113 }
114114 }}
129129 workBookTaskMaxForTable = results .updatedWorkBookTasksForTable .length ;
130130 selectedIndex = results .updatedWorkBookTasksForTable .length ;
131131
132- searchWordsOrURL = ' ' ;
132+ searchQueryOrURL = ' ' ;
133133 focusingId = PENDING ;
134134 }
135135 } else if (e .key === ' ArrowDown' ) {
193193 workBookTaskMaxForTable = results .updatedWorkBookTasksForTable .length ;
194194 selectedIndex = results .updatedWorkBookTasksForTable .length ;
195195
196- searchWordsOrURL = ' ' ;
196+ searchQueryOrURL = ' ' ;
197197 focusingId = PENDING ;
198198 }}
199199 >
You can’t perform that action at this time.
0 commit comments