Skip to content

Commit

Permalink
Correct codefactor errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hunter-richardson committed Jun 16, 2024
1 parent fda9936 commit e4c1fbf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/facies/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@
</v-app-bar>
<v-tabs v-model='annulus' align-tabs='center' density='compact' grow hide-slider mandatory>
<template v-for='annulus in annuli'>
<v-tab :value='annulus' :v-bind:key='annulus' selected-class='text-primary'
<v-tab :v-bind:key='annulus' :value='annulus' selected-class='text-primary'
density='compact' :text='annulus.titula' tile />
</template>
</v-tabs>
Expand Down
13 changes: 8 additions & 5 deletions src/facies/inflectere.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
const tabula: Tabula<Hoc> | null = agendum?.putetur();
const verba: Hoc[] = [];
const colamina: Agenda.Colamen<Hoc>[] = [];
const seligenda: string[] = []
const selecta: string[] = [];
let figura: string;
Expand Down Expand Up @@ -53,6 +54,7 @@
categoria: categoria,
figura: figura,
colamina: colamina,
seligenda: seligenda,
selecta: selecta,
verba: verba,
eventus: eventus,
Expand Down Expand Up @@ -130,9 +132,10 @@
async mounted (): Promise<void> {
this.verba = await this.omnes();
this.colamina = [
this.seligenda = [
...new Set((this.verba as Hoc[])
.map(verbum => verbum.valores())
.map(valor => Object.values(valor))
.flat())
];
Expand All @@ -147,10 +150,10 @@
</template>
<template v-else>
<v-chip-group selected-class='text-primary'>
<template v-for='colamen in colamina'>
<v-chip :v-bind:key='colamen'
:text="lingua === 'anglica' ? anglicum(Object.values(colamen).first()).toString() : Object.values(colamen).first().toString()"
@change='cole();' prepend-icon='category' filter />
<template v-for='seligendum in seligenda'>
<v-chip :v-bind:key='seligendum'
:text="lingua === 'anglica' ? anglicum(seligendum) : seligendum" @change='cole();'
prepend-icon='category' filter />
</template>
</v-chip-group>
<v-data-table v-for='ullum in verba' :items='verba' :v-bind:key='ullum' :loading='onerans'
Expand Down
3 changes: 1 addition & 2 deletions src/facies/specere.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@
lingua: Cocutor.se.ipse().edatur('lingua'),
multiplex: verbum.value instanceof Multiplex,
valores: (verbum.value as Multiplex)?.valores() ?? [],
locutor: Locutor.se.ipse(),
eventus: eventus
locutor: Locutor.se.ipse()
};
},
Expand Down

0 comments on commit e4c1fbf

Please sign in to comment.