Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
Rebuilderd Website
Commits
eec9cef1
Verified
Commit
eec9cef1
authored
Jul 05, 2020
by
Jelle van der Waa
🚧
Browse files
Fix sorting on Firefox
parent
3cbf058a
Pipeline
#367
passed with stage
in 31 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/App.js
View file @
eec9cef1
...
...
@@ -25,8 +25,14 @@ class App extends React.Component {
);
}
compareSuites
(
element
)
{
if
(
element
.
name
==
'
core
'
||
element
.
name
==
'
extra
'
)
{
compareSuites
(
a
,
b
)
{
if
(
a
.
name
==
'
core
'
)
{
return
-
1
;
}
else
if
(
a
.
name
==
'
core
'
&&
b
.
name
!=
'
core
'
)
{
return
-
1
;
}
else
if
(
a
.
name
==
'
extra
'
&&
b
.
name
==
'
core
'
)
{
return
1
;
}
else
if
(
a
.
name
==
'
extra
'
&&
b
.
name
!=
'
core
'
)
{
return
-
1
;
}
else
{
return
1
;
...
...
Write
Preview
Supports
Markdown
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