Merge branch 'push' of https://github.com/balzack/databag into push

This commit is contained in:
Roland Osborne 2022-11-11 12:03:12 -08:00
commit c7ebc514ea
2 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ The app is available in the google and apple stores. You can also test out the p
## Installation
To use databag, you will need a DNS name pointing to your node with a certificate. You can deloy a node manually, but you will have a much easier time using a container service. Containers for arm64 and amd64 are available [here](https://hub.docker.com/r/balzack/databag/tags).
To use databag, you will need a DNS name pointing to your node with a certificate. You can deploy a node manually, but you will have a much easier time using a container service. Containers for arm64 and amd64 are available [here](https://hub.docker.com/r/balzack/databag/tags).
Instruction for installing without a container on a Raspberry Pi Zero are [here](/doc/pizero.md).

View File

@ -55,8 +55,8 @@ export function useDashboard(config, server, token) {
};
useEffect(() => {
const { keyType, accountStorage, domain, enableImage, enableAudio, enableVideo } = config;
updateState({ keyType, storage: accountStorage.toString(), domain, enableImage, enableAudio, enableVideo });
const { keyType, accountStorage, domain, enableImage, enableAudio, enableVideo, pushSupported } = config;
updateState({ keyType, storage: accountStorage.toString(), domain, enableImage, enableAudio, enableVideo, pushSupported });
}, [config]);
useEffect(() => {