Skip to content

Commit 8cfabf6

Browse files
committed
fixed project status
1 parent 608570e commit 8cfabf6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Twig/Components/ProjectStatus.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,6 @@ public function getLastStatus(): string {
2020
}
2121
$ping = $this->recordRepo->getLastRecord($this->project);
2222

23-
return $ping?->isError()??false;
23+
return (!$ping?->isError()) ?? false;
2424
}
2525
}

0 commit comments

Comments
 (0)