From e4c1fbff7bea9151f10e3fc09cb74a27773ee56b Mon Sep 17 00:00:00 2001 From: Hunter Richardson Date: Sun, 16 Jun 2024 16:56:54 -0500 Subject: [PATCH] Correct codefactor errors --- src/facies/app.vue | 2 +- src/facies/inflectere.vue | 13 ++++++++----- src/facies/specere.vue | 3 +-- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/src/facies/app.vue b/src/facies/app.vue index 60d7628..87ea17e 100644 --- a/src/facies/app.vue +++ b/src/facies/app.vue @@ -208,7 +208,7 @@ diff --git a/src/facies/inflectere.vue b/src/facies/inflectere.vue index 9afb8a9..afac960 100644 --- a/src/facies/inflectere.vue +++ b/src/facies/inflectere.vue @@ -16,6 +16,7 @@ const tabula: Tabula | null = agendum?.putetur(); const verba: Hoc[] = []; const colamina: Agenda.Colamen[] = []; + const seligenda: string[] = [] const selecta: string[] = []; let figura: string; @@ -53,6 +54,7 @@ categoria: categoria, figura: figura, colamina: colamina, + seligenda: seligenda, selecta: selecta, verba: verba, eventus: eventus, @@ -130,9 +132,10 @@ async mounted (): Promise { 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()) ]; @@ -147,10 +150,10 @@