Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ce-deploy-ui
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ccce
dev
ce-deploy-ui
Commits
c9a24c1e
Commit
c9a24c1e
authored
5 months ago
by
Johanna Szepanski
Browse files
Options
Downloads
Patches
Plain Diff
removed related helper function
parent
eaffd878
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!612
Release 5.0.0
,
!554
CE-3236: Remove statistics page
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/common/Helper.js
+0
-7
0 additions, 7 deletions
src/components/common/Helper.js
with
0 additions
and
7 deletions
src/components/common/Helper.js
+
0
−
7
View file @
c9a24c1e
import
{
useState
,
useEffect
}
from
"
react
"
;
import
{
alpha
}
from
"
@mui/material/styles
"
;
import
env
from
"
../../config/env
"
;
export
function
formatToList
(
items
)
{
...
...
@@ -58,12 +57,6 @@ export function useWindowDimensions() {
return
windowDimensions
;
}
export
function
circularPalette
(
palette
,
index
,
opacity
=
1.0
)
{
const
colors
=
Object
.
values
(
palette
);
let
n
=
colors
.
length
;
return
alpha
(
colors
[((
index
%
n
)
+
n
)
%
n
],
opacity
);
}
function
applicationSubTitle
()
{
const
title
=
`
${
env
.
ENVIRONMENT_TITLE
}
`
;
...
...
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