Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
beta.ordbok.uib.no
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Språksamlingane
beta.ordbok.uib.no
Commits
fe22fb4b
Commit
fe22fb4b
authored
3 years ago
by
Henrik Askjer
Browse files
Options
Downloads
Patches
Plain Diff
Attempt at fixing update bug
parent
30a4af45
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/DictionaryView.vue
+3
-1
3 additions, 1 deletion
src/components/DictionaryView.vue
with
3 additions
and
1 deletion
src/components/DictionaryView.vue
+
3
−
1
View file @
fe22fb4b
...
...
@@ -203,12 +203,14 @@ export default {
select_result
:
function
(
event
)
{
this
.
event
=
event
if
(
event
.
articles
){
let
source
=
'
/
'
+
this
.
lang
+
'
/w/
'
+
event
.
word
let
source
=
'
/
'
+
this
.
lang
+
'
/w/
'
+
event
.
match
this
.
$router
.
push
(
source
)
this
.
search_results
=
event
.
articles
.
map
(
a
=>
Object
.
assign
(
a
,
{
source
:
source
}))
this
.
article
=
null
this
.
error
=
null
history
.
replaceState
({
article
:
this
.
article
,
search_results
:
this
.
search_results
,
lang
:
this
.
lang
,
error
:
this
.
error
},
''
)
// Attempt at fixing issue with page not updating
navigate_to_word
(
this
,
event
.
match
)
this
.
$plausible
.
trackEvent
(
'
dropdown selection
'
,
{
props
:
{
query
:
event
.
label
,
match
:
event
.
match
}})
}
else
{
this
.
waiting_for_articles
=
true
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment