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
8cd90285
Commit
8cd90285
authored
May 26, 2020
by
David O'Regan
Committed by
Denys Mishunov
May 26, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up bogus CSS classes
parent
ed4b163b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
app/assets/javascripts/alert_management/components/alert_management_list.vue
...pts/alert_management/components/alert_management_list.vue
+1
-1
spec/frontend/alert_management/components/alert_management_list_spec.js
...alert_management/components/alert_management_list_spec.js
+4
-4
No files found.
app/assets/javascripts/alert_management/components/alert_management_list.vue
View file @
8cd90285
...
@@ -25,7 +25,7 @@ import { capitalizeFirstCharacter, convertToSnakeCase } from '~/lib/utils/text_u
...
@@ -25,7 +25,7 @@ import { capitalizeFirstCharacter, convertToSnakeCase } from '~/lib/utils/text_u
const
tdClass
=
'
table-col d-flex d-md-table-cell align-items-center
'
;
const
tdClass
=
'
table-col d-flex d-md-table-cell align-items-center
'
;
const
bodyTrClass
=
const
bodyTrClass
=
'
gl-border-1 gl-border-t-solid gl-border-gray-100
hover-bg-blue-50 hover-gl-cursor-pointer hover-gl-border-b-solid hover-gl
-border-blue-200
'
;
'
gl-border-1 gl-border-t-solid gl-border-gray-100
gl-hover-bg-blue-50 gl-hover-cursor-pointer gl-hover-border-b-solid gl-hover
-border-blue-200
'
;
const
findDefaultSortColumn
=
()
=>
document
.
querySelector
(
'
.js-started-at
'
);
const
findDefaultSortColumn
=
()
=>
document
.
querySelector
(
'
.js-started-at
'
);
export
default
{
export
default
{
...
...
spec/frontend/alert_management/components/alert_management_list_spec.js
View file @
8cd90285
...
@@ -137,7 +137,7 @@ describe('AlertManagementList', () => {
...
@@ -137,7 +137,7 @@ describe('AlertManagementList', () => {
findAlerts
()
findAlerts
()
.
at
(
0
)
.
at
(
0
)
.
classes
(),
.
classes
(),
).
not
.
toContain
(
'
hover-bg-blue-50
'
);
).
not
.
toContain
(
'
gl-
hover-bg-blue-50
'
);
});
});
it
(
'
error state
'
,
()
=>
{
it
(
'
error state
'
,
()
=>
{
...
@@ -154,7 +154,7 @@ describe('AlertManagementList', () => {
...
@@ -154,7 +154,7 @@ describe('AlertManagementList', () => {
findAlerts
()
findAlerts
()
.
at
(
0
)
.
at
(
0
)
.
classes
(),
.
classes
(),
).
not
.
toContain
(
'
hover-bg-blue-50
'
);
).
not
.
toContain
(
'
gl-
hover-bg-blue-50
'
);
});
});
it
(
'
empty state
'
,
()
=>
{
it
(
'
empty state
'
,
()
=>
{
...
@@ -171,7 +171,7 @@ describe('AlertManagementList', () => {
...
@@ -171,7 +171,7 @@ describe('AlertManagementList', () => {
findAlerts
()
findAlerts
()
.
at
(
0
)
.
at
(
0
)
.
classes
(),
.
classes
(),
).
not
.
toContain
(
'
hover-bg-blue-50
'
);
).
not
.
toContain
(
'
gl-
hover-bg-blue-50
'
);
});
});
it
(
'
has data state
'
,
()
=>
{
it
(
'
has data state
'
,
()
=>
{
...
@@ -187,7 +187,7 @@ describe('AlertManagementList', () => {
...
@@ -187,7 +187,7 @@ describe('AlertManagementList', () => {
findAlerts
()
findAlerts
()
.
at
(
0
)
.
at
(
0
)
.
classes
(),
.
classes
(),
).
toContain
(
'
hover-bg-blue-50
'
);
).
toContain
(
'
gl-
hover-bg-blue-50
'
);
});
});
it
(
'
displays status dropdown
'
,
()
=>
{
it
(
'
displays status dropdown
'
,
()
=>
{
...
...
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