mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-27 03:04:13 +00:00
Only show UI version if they are different
This commit is contained in:
parent
7f348fd074
commit
091f998b5f
|
@ -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