Compare commits

...

3 Commits

Author SHA1 Message Date
bee-worker 786d624e18 chore(master): release 0.18.2 (#478) 2022-07-06 11:34:35 +02:00
Adam Uhlíř 33fff93cac fix: enable desktop update notifications on all platforms (#476) 2022-07-06 11:27:48 +02:00
Adam Uhlíř 498294e227 fix: don't link to latest release (#477) 2022-07-06 11:27:41 +02:00
5 changed files with 16 additions and 6 deletions
+8
View File
@@ -1,5 +1,13 @@
# Changelog
## [0.18.2](https://github.com/ethersphere/bee-dashboard/compare/v0.18.1...v0.18.2) (2022-07-06)
### Bug Fixes
* don't link to latest release ([#477](https://github.com/ethersphere/bee-dashboard/issues/477)) ([498294e](https://github.com/ethersphere/bee-dashboard/commit/498294e227baa52c59adecf9c4cfd205061ddf75))
* enable desktop update notifications on all platforms ([#476](https://github.com/ethersphere/bee-dashboard/issues/476)) ([33fff93](https://github.com/ethersphere/bee-dashboard/commit/33fff93cac31ec54b02f9c7d0c90c13c8d3763c7))
## [0.18.1](https://github.com/ethersphere/bee-dashboard/compare/v0.18.0...v0.18.1) (2022-07-05)
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "@ethersphere/bee-dashboard",
"version": "0.18.1",
"version": "0.18.2",
"lockfileVersion": 2,
"requires": true,
"packages": {
"": {
"name": "@ethersphere/bee-dashboard",
"version": "0.18.1",
"version": "0.18.2",
"license": "BSD-3-Clause",
"dependencies": {
"@ethersphere/bee-js": "^4.1.1",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@ethersphere/bee-dashboard",
"version": "0.18.1",
"version": "0.18.2",
"description": "An app which helps users to setup their Bee node and do actions like cash out cheques",
"keywords": [
"bee",
+3 -3
View File
@@ -29,12 +29,12 @@ const Dashboard = (props: Props): ReactElement => {
const classes = useStyles()
const { isLoading } = useContext(Context)
const { isBeeDesktop, desktopAutoUpdateEnabled } = useIsBeeDesktop()
const { isBeeDesktop } = useIsBeeDesktop()
const { newBeeDesktopVersion } = useNewBeeDesktopVersion(isBeeDesktop)
const { enqueueSnackbar, closeSnackbar } = useSnackbar()
useEffect(() => {
if (!desktopAutoUpdateEnabled && newBeeDesktopVersion !== '') {
if (newBeeDesktopVersion !== '') {
enqueueSnackbar(`There is new Swarm Dashboard version ${newBeeDesktopVersion}!`, {
variant: 'warning',
preventDuplicate: true,
@@ -61,7 +61,7 @@ const Dashboard = (props: Props): ReactElement => {
),
})
}
}, [enqueueSnackbar, closeSnackbar, newBeeDesktopVersion, desktopAutoUpdateEnabled])
}, [enqueueSnackbar, closeSnackbar, newBeeDesktopVersion])
const content = (
<>
+2
View File
@@ -112,6 +112,7 @@ export default function Status(): ReactElement {
variant="outlined"
href={BEE_DESKTOP_LATEST_RELEASE_PAGE}
target="_blank"
disabled={newBeeDesktopVersion === ''}
style={{ height: '26px' }}
>
{newBeeDesktopVersion === '' ? 'latest' : 'update'}
@@ -133,6 +134,7 @@ export default function Status(): ReactElement {
size="small"
variant="outlined"
href={latestBeeVersionUrl}
disabled={isLatestBeeVersion}
target="_blank"
style={{ height: '26px' }}
>