Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Språksamlingane
beta.ordbok.uib.no
Commits
5ba18618
Commit
5ba18618
authored
May 06, 2022
by
Henrik Askjer
Browse files
Merge dev into prod
parent
535e1a4d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/components/InflectionButton.vue
View file @
5ba18618
...
...
@@ -30,7 +30,7 @@ export default {
word_class
:
lemma
.
paradigm_info
[
0
].
inflection_group
.
split
(
'
_
'
)[
0
]},
lemma
))
},
inflected
:
function
()
{
return
this
.
lemmas
.
reduce
((
acc
,
lemma
)
=>
acc
+=
lemma
.
paradigm_info
.
reduce
((
acc2
,
digm
)
=>
acc2
+=
digm
.
inflection
.
length
,
0
),
0
)
>
0
return
this
.
lemmas
.
reduce
((
acc
,
lemma
)
=>
acc
+=
lemma
.
paradigm_info
.
reduce
((
acc2
,
digm
)
=>
digm
.
inflection_group
.
includes
(
"
uninfl
"
)
?
0
:
acc2
+=
digm
.
inflection
.
length
,
0
),
0
)
>
0
},
always_expand
:
function
()
{
return
!
this
.
$parent
.
$parent
.
collapsed
&&
this
.
$store
.
state
.
inflectionExpanded
&&
this
.
$route
.
name
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment