@electerm/electerm-react 5.1.7 → 5.1.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -361,7 +361,7 @@ export default class Upgrade extends PureComponent {
361
361
  <div className={cls}>
362
362
  <div className='upgrade-panel-title fix'>
363
363
  <span className='fleft'>
364
- {e('newVersion')} <b>{remoteVersion} [{releaseInfo.date}]</b>
364
+ {e('newVersion')} <b>{remoteVersion}{releaseInfo?.date ? ` [${releaseInfo.date}]` : ''}</b>
365
365
  </span>
366
366
  <span className='fright'>
367
367
  <MinusSquareOutlined className='pointer font16 close-upgrade-panel' onClick={this.handleMinimize} />
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@electerm/electerm-react",
3
- "version": "5.1.7",
3
+ "version": "5.1.8",
4
4
  "description": "react components src for electerm",
5
5
  "main": "./client/components/main/main.jsx",
6
6
  "license": "MIT",