Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
funkwhale
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Martin Giger
funkwhale
Commits
b74517ff
Verified
Commit
b74517ff
authored
5 years ago
by
Eliot Berriot
Browse files
Options
Downloads
Patches
Plain Diff
Fixed broken track table issue during upload
parent
7994ac49
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
front/src/components/mixins/Ordering.vue
+6
-3
6 additions, 3 deletions
front/src/components/mixins/Ordering.vue
front/src/store/ui.js
+5
-0
5 additions, 0 deletions
front/src/store/ui.js
with
11 additions
and
3 deletions
front/src/components/mixins/Ordering.vue
+
6
−
3
View file @
b74517ff
...
...
@@ -4,6 +4,9 @@ export default {
defaultOrdering
:
{
type
:
String
,
required
:
false
}
},
computed
:
{
orderingConfig
()
{
return
this
.
$store
.
state
.
ui
.
routePreferences
[
this
.
$route
.
name
]
},
paginateBy
:
{
set
(
paginateBy
)
{
this
.
$store
.
commit
(
'
ui/paginateBy
'
,
{
...
...
@@ -12,7 +15,7 @@ export default {
})
},
get
()
{
return
this
.
$store
.
state
.
ui
.
routePreferences
[
this
.
$route
.
name
]
.
paginateBy
return
this
.
orderingConfig
.
paginateBy
}
},
ordering
:
{
...
...
@@ -23,7 +26,7 @@ export default {
})
},
get
()
{
return
this
.
$store
.
state
.
ui
.
routePreferences
[
this
.
$route
.
name
]
.
ordering
return
this
.
orderingConfig
.
ordering
}
},
orderingDirection
:
{
...
...
@@ -34,7 +37,7 @@ export default {
})
},
get
()
{
return
this
.
$store
.
state
.
ui
.
routePreferences
[
this
.
$route
.
name
]
.
orderingDirection
return
this
.
orderingConfig
.
orderingDirection
}
},
},
...
...
This diff is collapsed.
Click to expand it.
front/src/store/ui.js
+
5
−
0
View file @
b74517ff
...
...
@@ -77,6 +77,11 @@ export default {
orderingDirection
:
"
-
"
,
ordering
:
"
creation_date
"
,
},
"
content.libraries.detail.upload
"
:
{
paginateBy
:
50
,
orderingDirection
:
"
-
"
,
ordering
:
"
creation_date
"
,
},
},
serviceWorker
:
{
refreshing
:
false
,
...
...
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