Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
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
Code review analytics
Issue analytics
Insights
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
minerva
frontend
Commits
07099e7d
Commit
07099e7d
authored
10 months ago
by
Piotr Gawron
Browse files
Options
Downloads
Patches
Plain Diff
version number should be taken from configuration
parent
7747f5c8
No related branches found
No related tags found
2 merge requests
!223
reset the pin numbers before search results are fetch (so the results will be...
,
!187
Resolve "[MIN-329] minerva version"
Checking pipeline status
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/FunctionalArea/NavBar/NavBar.component.tsx
+6
-1
6 additions, 1 deletion
src/components/FunctionalArea/NavBar/NavBar.component.tsx
with
6 additions
and
1 deletion
src/components/FunctionalArea/NavBar/NavBar.component.tsx
+
6
−
1
View file @
07099e7d
...
@@ -6,6 +6,8 @@ import { useAppDispatch } from '@/redux/hooks/useAppDispatch';
...
@@ -6,6 +6,8 @@ import { useAppDispatch } from '@/redux/hooks/useAppDispatch';
import
{
openLegend
}
from
'
@/redux/legend/legend.slice
'
;
import
{
openLegend
}
from
'
@/redux/legend/legend.slice
'
;
import
{
openPluginsDrawer
}
from
'
@/redux/plugins/plugins.slice
'
;
import
{
openPluginsDrawer
}
from
'
@/redux/plugins/plugins.slice
'
;
import
{
IconButton
}
from
'
@/shared/IconButton
'
;
import
{
IconButton
}
from
'
@/shared/IconButton
'
;
import
{
store
}
from
'
@/redux/store
'
;
import
Image
from
'
next/image
'
;
import
Image
from
'
next/image
'
;
export
const
NavBar
=
():
JSX
.
Element
=>
{
export
const
NavBar
=
():
JSX
.
Element
=>
{
...
@@ -28,6 +30,9 @@ export const NavBar = (): JSX.Element => {
...
@@ -28,6 +30,9 @@ export const NavBar = (): JSX.Element => {
dispatch
(
openLegend
());
dispatch
(
openLegend
());
};
};
const
configuration
=
store
.
getState
().
configuration
.
main
.
data
;
const
version
=
configuration
?
`(v
${
configuration
.
version
}
)`
:
''
;
return
(
return
(
<
div
className
=
"flex min-h-full w-[88px] flex-col items-center justify-between overflow-y-auto bg-cultured py-8"
>
<
div
className
=
"flex min-h-full w-[88px] flex-col items-center justify-between overflow-y-auto bg-cultured py-8"
>
<
div
data-testid
=
"nav-buttons"
>
<
div
data-testid
=
"nav-buttons"
>
...
@@ -56,7 +61,7 @@ export const NavBar = (): JSX.Element => {
...
@@ -56,7 +61,7 @@ export const NavBar = (): JSX.Element => {
<
span
className
=
"h-16 w-14 text-center text-[8px] leading-4"
>
<
span
className
=
"h-16 w-14 text-center text-[8px] leading-4"
>
Powered by: MINERVA Platform
{
'
'
}
Powered by: MINERVA Platform
{
'
'
}
<
a
href
=
{
MINERVA_WEBSITE_URL
}
target
=
"_blank"
>
<
a
href
=
{
MINERVA_WEBSITE_URL
}
target
=
"_blank"
>
(v16.0.8)
{
version
}
</
a
>
</
a
>
</
span
>
</
span
>
</
div
>
</
div
>
...
...
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