Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
scc-net
netvs
netvs-core
Commits
a0816e4d
Commit
a0816e4d
authored
Jan 28, 2021
by
gj4210
👁
Browse files
FIX: 'Popover is null' on keyboard search action (closes
#254
)
parent
effebcce
Pipeline
#130290
passed with stages
in 4 minutes and 47 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
frontend/src/components/GlobalSearch.vue
View file @
a0816e4d
...
...
@@ -26,6 +26,7 @@
<b-popover
custom-class=
"popover-wide suggestions-popover shadow"
:show=
"(search_has_focus) || searching !== 0"
id=
"suggestions-popover"
ref=
"suggestionsPopover"
target=
"search"
placement=
"bottom"
>
<div
class=
"suggestions-wrapper"
>
<div
v-if=
"getSearchDiscriminator()"
class=
"text-center suggestion p-3"
><i>
Globale Suche
...
...
@@ -344,6 +345,7 @@ export default {
if
(
this
.
show_search
)
{
this
.
$nextTick
(()
=>
{
this
.
$refs
.
search
.
focus
()
this
.
$refs
.
suggestionsPopover
.
$emit
(
'
open
'
)
})
}
}
else
{
...
...
Write
Preview
Supports
Markdown
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