Skip to content

Commit 75d44c2

Browse files
committed
[Linter] Fix issues
1 parent 66204ae commit 75d44c2

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/components/admin-new/surveys/SurveyCreator.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
ShallowReadingSessionDto
77
} from '@/types/dtos/ShallowReadingSessionDto';
88
import SwitchOption from '@/components/settings/SwitchOption.vue';
9+
import { adminBaseRoute } from '../adminConfig';
910
import inputFilter from '@/ts/util/inputFilter';
1011
import {
1112
ref
@@ -14,14 +15,13 @@
1415
import {
1516
useNotification
1617
} from '@kyvg/vue3-notification';
18+
import { useRouter } from 'vue-router';
1719
import {
1820
useStatusStore
1921
} from '@/ts/stores/status';
2022
import {
2123
useSurveyStore
2224
} from '@/ts/stores/admin';
23-
import { useRouter } from 'vue-router';
24-
import { adminBaseRoute } from '../adminConfig';
2525
2626
interface Text {
2727
'sessions': ShallowReadingSessionDto[];

src/components/admin-new/surveys/SurveyProperties.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
*/
8484
watch(
8585
() => route.params.id,
86-
( newId, _oldId ) => {
86+
( newId ) => {
8787
console.log( newId );
8888
8989
if ( newId === undefined ) surveyStore.setSurveyIndex(-1);

src/ts/dataImport/parsers/fixations_new.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export const parseFixationsCSV = (
1818
readerName: string = 'reader',
1919
textName: string = 'text',
2020
idName: string = 'fixid',
21-
lang: string ='lang'
21+
// lang: string ='lang'
2222
): ImportReadingSessionDto[] => {
2323
const lines = text.split( /\r?\n/ ).filter( l => l.trim() !== '' );
2424
const header = lines.shift()!.split( ',' )
@@ -28,7 +28,7 @@ export const parseFixationsCSV = (
2828
const xIndex = header.indexOf( xName );
2929
const yIndex = header.indexOf( yName );
3030
const idIndex = header.indexOf( idName );
31-
const language = header.indexOf( lang );
31+
// const language = header.indexOf( lang );
3232

3333
if ( xIndex < 0 )
3434
throw new InvalidIndexNameError( 'X coordinate' );

0 commit comments

Comments
 (0)