Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
ValUnifer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Redmine
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
IPIPAN
ValUnifer
Commits
1468bd9a
Commit
1468bd9a
authored
Jul 5, 2022
by
dcz
Browse files
Options
Downloads
Patches
Plain Diff
Reload entries list bugfix.
parent
d89edaa1
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
entries/static/entries/js/components/UnificationEntriesList.js
+6
-3
6 additions, 3 deletions
...es/static/entries/js/components/UnificationEntriesList.js
entries/static/entries/js/unification_entries_list.js
+1
-0
1 addition, 0 deletions
entries/static/entries/js/unification_entries_list.js
with
7 additions
and
3 deletions
entries/static/entries/js/components/UnificationEntriesList.js
+
6
−
3
View file @
1468bd9a
...
@@ -6,8 +6,10 @@ export default {
...
@@ -6,8 +6,10 @@ export default {
},
},
watch
:
{
watch
:
{
unificationEntriesListRefreshKey
()
{
unificationEntriesListRefreshKey
()
{
// TODO: reload data and click in selected row
// this.datatableObject.ajax.reload();
setup_entries_list
({
setup_entries_list
({
table
:
this
.
$refs
.
table
1
,
table
:
this
.
$refs
.
table
,
lexicalUnitSelected
:
(
entryId
,
lexicalUnitId
)
=>
{
this
.
$emit
(
'
lexicalUnitSelected
'
,
entryId
,
lexicalUnitId
);
},
lexicalUnitSelected
:
(
entryId
,
lexicalUnitId
)
=>
{
this
.
$emit
(
'
lexicalUnitSelected
'
,
entryId
,
lexicalUnitId
);
},
selectEntryId
:
this
.
initialEntryId
selectEntryId
:
this
.
initialEntryId
});
});
...
@@ -16,12 +18,13 @@ export default {
...
@@ -16,12 +18,13 @@ export default {
data
()
{
data
()
{
return
{
return
{
gettext
:
window
.
gettext
,
gettext
:
window
.
gettext
,
canViewAssignment
:
has_permission
(
"
users.view_assignment
"
)
canViewAssignment
:
has_permission
(
"
users.view_assignment
"
),
datatableObject
:
Object
,
}
}
},
},
emits
:
[
'
lexicalUnitSelected
'
],
emits
:
[
'
lexicalUnitSelected
'
],
mounted
()
{
mounted
()
{
setup_entries_list
({
this
.
datatableObject
=
setup_entries_list
({
table
:
this
.
$refs
.
table
,
table
:
this
.
$refs
.
table
,
lexicalUnitSelected
:
(
entryId
,
lexicalUnitId
)
=>
{
this
.
$emit
(
'
lexicalUnitSelected
'
,
entryId
,
lexicalUnitId
);
},
lexicalUnitSelected
:
(
entryId
,
lexicalUnitId
)
=>
{
this
.
$emit
(
'
lexicalUnitSelected
'
,
entryId
,
lexicalUnitId
);
},
selectEntryId
:
this
.
initialEntryId
selectEntryId
:
this
.
initialEntryId
...
...
This diff is collapsed.
Click to expand it.
entries/static/entries/js/unification_entries_list.js
+
1
−
0
View file @
1468bd9a
...
@@ -33,6 +33,7 @@ function setup_entries_list(options) {
...
@@ -33,6 +33,7 @@ function setup_entries_list(options) {
drilldown
.
closest
(
"
td
"
).
addClass
(
"
p-0 pl-4
"
);
drilldown
.
closest
(
"
td
"
).
addClass
(
"
p-0 pl-4
"
);
}
}
});
});
return
datatable
;
}
}
function
setup_lexical_units_table
(
drilldown
,
lexical_units
,
can_see_assignees
,
options
)
{
function
setup_lexical_units_table
(
drilldown
,
lexical_units
,
can_see_assignees
,
options
)
{
...
...
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