mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-29 15:51:14 +00:00
Only show UI version if they are different
This commit is contained in:
parent
7f348fd074
commit
091f998b5f
1 changed files with 5 additions and 3 deletions
|
@ -19,9 +19,11 @@ export class Footer extends Component<FooterProps, any> {
|
|||
<nav class="container navbar navbar-expand-md navbar-light navbar-bg p-3">
|
||||
<div className="navbar-collapse">
|
||||
<ul class="navbar-nav ml-auto">
|
||||
<li class="nav-item">
|
||||
<span class="nav-link">UI: {VERSION}</span>
|
||||
</li>
|
||||
{this.props.site.version !== VERSION && (
|
||||
<li class="nav-item">
|
||||
<span class="nav-link">UI: {VERSION}</span>
|
||||
</li>
|
||||
)}
|
||||
<li class="nav-item">
|
||||
<span class="nav-link">BE: {this.props.site.version}</span>
|
||||
</li>
|
||||
|
|
Loading…
Reference in a new issue