Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
apps.education
apps.education-front
Commits
549b99c4
Commit
549b99c4
authored
Apr 28, 2020
by
Mahëd Benzerga
Browse files
correctif espace dropdown
parent
f321827a
Changes
1
Hide whitespace changes
Inline
Side-by-side
components/platform/PlatformAccess.vue
View file @
549b99c4
...
...
@@ -50,8 +50,9 @@ export default {
},
computed
:
{
filteredAcademies
()
{
const
spacePattern
=
/
\s
+/g
;
return
this
.
input
!==
''
?
this
.
academies
.
filter
((
academie
)
=>
{
return
academie
.
name
.
toLowerCase
().
indexOf
(
this
.
input
.
toLowerCase
())
!==
-
1
return
academie
.
name
.
toLowerCase
().
replace
(
spacePattern
,
''
).
indexOf
(
this
.
input
.
toLowerCase
()
.
replace
(
spacePattern
,
''
)
)
!==
-
1
})
:
this
.
academies
},
isShown
:
{
...
...
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