Add setting to hide widgets on failure
This commit is contained in:
84 files changed
+103
-93
No files matched your search
@@ -18,7 +18,7 @@ export default function Component({ service }) {
|
||||
|
||||
if (ghostfolioErrorToday || ghostfolioErrorYear || ghostfolioErrorMax) {
|
||||
const finalError = ghostfolioErrorToday ?? ghostfolioErrorYear ?? ghostfolioErrorMax
|
||||
return <Container error={finalError} />;
|
||||
return <Container service={service} error={finalError} />;
|
||||
}
|
||||
|
||||
if (!performanceToday || !performanceYear || !performanceMax) {
|
||||
|
||||
Reference in new issue
Block a user