Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
cfd208cd
Commit
cfd208cd
authored
Dec 10, 2020
by
Alexander Turinske
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move PAGE_SIZE out of i18n
- a number can not be internationalized
parent
e974547c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ee/app/assets/javascripts/threat_monitoring/components/alerts/alerts_list.vue
...ripts/threat_monitoring/components/alerts/alerts_list.vue
+3
-3
No files found.
ee/app/assets/javascripts/threat_monitoring/components/alerts/alerts_list.vue
View file @
cfd208cd
...
...
@@ -17,10 +17,10 @@ import getAlerts from '~/alert_management/graphql/queries/get_alerts.query.graph
import
{
FIELDS
,
MESSAGES
,
PAGE_SIZE
,
STATUSES
}
from
'
./constants
'
;
export
default
{
PAGE_SIZE
,
i18n
:
{
FIELDS
,
MESSAGES
,
PAGE_SIZE
,
STATUSES
,
},
components
:
{
...
...
@@ -42,7 +42,7 @@ export default {
query
:
getAlerts
,
variables
()
{
return
{
firstPageSize
:
this
.
$options
.
i18n
.
PAGE_SIZE
,
firstPageSize
:
this
.
$options
.
PAGE_SIZE
,
projectPath
:
this
.
projectPath
,
sort
:
this
.
sort
,
};
...
...
@@ -176,7 +176,7 @@ export default {
<
template
#table-busy
>
<gl-skeleton-loading
v-for=
"n in $options.
i18n.
PAGE_SIZE"
v-for=
"n in $options.PAGE_SIZE"
:key=
"n"
class=
"gl-m-3 js-skeleton-loader"
:lines=
"1"
...
...
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