mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-11-26 06:11:15 +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">
|
<nav class="container navbar navbar-expand-md navbar-light navbar-bg p-3">
|
||||||
<div className="navbar-collapse">
|
<div className="navbar-collapse">
|
||||||
<ul class="navbar-nav ml-auto">
|
<ul class="navbar-nav ml-auto">
|
||||||
<li class="nav-item">
|
{this.props.site.version !== VERSION && (
|
||||||
<span class="nav-link">UI: {VERSION}</span>
|
<li class="nav-item">
|
||||||
</li>
|
<span class="nav-link">UI: {VERSION}</span>
|
||||||
|
</li>
|
||||||
|
)}
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
<span class="nav-link">BE: {this.props.site.version}</span>
|
<span class="nav-link">BE: {this.props.site.version}</span>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in a new issue