Compare commits

..

No commits in common. "main" and "1.1.0" have entirely different histories.
main ... 1.1.0

4 changed files with 9 additions and 13 deletions

4
.gitignore vendored
View File

@ -26,7 +26,3 @@ dist-ssr
.env* .env*
!.env.example !.env.example
docker-compose.*.yml docker-compose.*.yml
data/
meta/
garage.toml

View File

@ -108,7 +108,7 @@ const NodesList = ({ nodes }: NodeListProps) => {
const onRevert = () => { const onRevert = () => {
if ( if (
window.confirm("Are you sure you want to revert any changes made?") && window.confirm("Are you sure you want to revert layout changes?") &&
data?.version != null data?.version != null
) { ) {
revertChanges.mutate(data?.version + 1); revertChanges.mutate(data?.version + 1);
@ -117,7 +117,7 @@ const NodesList = ({ nodes }: NodeListProps) => {
const onApply = () => { const onApply = () => {
if ( if (
window.confirm("Are you sure you want to apply your layout changes?") && window.confirm("Are you sure you want to revert layout changes?") &&
data?.version != null data?.version != null
) { ) {
applyChanges.mutate(data?.version + 1); applyChanges.mutate(data?.version + 1);

View File

@ -56,7 +56,7 @@ const HomePage = () => {
<StatsCard <StatsCard
title="Active Storage Nodes" title="Active Storage Nodes"
icon={DatabaseZap} icon={DatabaseZap}
value={health?.storageNodesUp} value={health?.storageNodesOk}
/> />
<StatsCard <StatsCard
title="Partitions" title="Partitions"

View File

@ -5,7 +5,7 @@ export type GetHealthResult = {
knownNodes: number; knownNodes: number;
connectedNodes: number; connectedNodes: number;
storageNodes: number; storageNodes: number;
storageNodesUp: number; storageNodesOk: number;
partitions: number; partitions: number;
partitionsQuorum: number; partitionsQuorum: number;
partitionsAllOk: number; partitionsAllOk: number;