@@ -18,7 +18,7 @@ import useState from '@use/useState';
1818import BatchUploadRecording from ' @components/BatchUploadRecording.vue' ;
1919import RecordingInfoDisplay from ' @components/RecordingInfoDisplay.vue' ;
2020import RecordingAnnotationSummary from ' @components/RecordingAnnotationSummary.vue' ;
21- import { FilterFunction } from ' vuetify' ;
21+ import { FilterFunction , InternalItem } from ' vuetify' ;
2222export default defineComponent ({
2323 components: {
2424 UploadRecording ,
@@ -173,23 +173,21 @@ export default defineComponent({
173173 .filter ((tag : string | null ) => tag !== null );
174174 return [... new Set (tags )];
175175 });
176- // eslint-disable-next-line @typescript-eslint/no-explicit-any
177- const tagFilter: FilterFunction = (value : string , search : string , item : any ) => {
176+ const tagFilter: FilterFunction = (value : string , search : string , item ? : InternalItem <Recording >) => {
178177 if (filterTags .value .length === 0 ) {
179178 return true ;
180179 }
181- const itemTag = item ?.columns ? .tag_text ;
180+ const itemTag = item ?.raw .tag_text ;
182181 if (itemTag && filterTags .value .includes (itemTag )) {
183182 return true ;
184183 }
185184 return false ;
186185 };
187- // eslint-disable-next-line @typescript-eslint/no-explicit-any
188- const sharedTagFilter: FilterFunction = (value : string , search : string , item : any ) => {
186+ const sharedTagFilter: FilterFunction = (value : string , search : string , item ? : InternalItem <Recording >) => {
189187 if (filterTags .value .length === 0 ) {
190188 return true ;
191189 }
192- const itemTag = item ?.columns ? .tag_text ;
190+ const itemTag = item ?.raw .tag_text ;
193191 if (itemTag && sharedFilterTags .value .includes (itemTag )) {
194192 return true ;
195193 }
@@ -201,7 +199,6 @@ export default defineComponent({
201199 await fetchRecordings ();
202200 });
203201
204-
205202 const uploadDone = () => {
206203 uploadDialog .value = false ;
207204 batchUploadDialog .value = false ;
0 commit comments