Show whatsnew only when it is existing user

This commit is contained in:
boryslevytskyi
2017-05-20 13:31:17 +03:00
parent 8fe0ae15a1
commit 65f73e4734
2 changed files with 3 additions and 3 deletions

View File

@@ -8,7 +8,7 @@ export default class AppState {
this.version = 1;
this.persistedVersion = persistData.version || 0.9;
this.wasOldVersion = this.version > this.persistedVersion;
this.wasOldVersion = persistData.version && this.version > this.persistedVersion;
}
addCommandResult(result) {

View File

@@ -2,9 +2,9 @@ import React from 'react'
export default class WhatsnewResultView extends React.Component {
render() {
return <div class="changelog">
return <div className="changelog">
<h3>BitwiseCmd Changelog</h3>
<div class="item">
<div className="item">
<p><strong>May 16th, 2017</strong> Complete rewrite using React. Old implementation is available at <a href="http://bitwisecmd.com/old">http://bitwisecmd.com/old</a>.</p>
<p>Please let me know if you have problems with this release by <a href="https://github.com/BorysLevytskyi/BitwiseCmd/issues">creating issue</a> in Github Repo.</p>
</div>