Skip to content

Commit

Permalink
Propagate omit-logging field correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
adhityamamallan committed Aug 28, 2024
1 parent b13c480 commit fbc2223
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/views/domain-page/config/domain-page-tabs-error.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { type DomainPageTabsErrorConfig } from '../domain-page-tabs-error/domain-page-tabs-error.types';
import getDomainWorkflowsErrorConfig from '../helpers/get-domain-workflows-error-config';

const domainPageTabsErrorConfig = {
const domainPageTabsErrorConfig: DomainPageTabsErrorConfig = {
workflows: getDomainWorkflowsErrorConfig,
metadata: () => ({
message: 'Failed to load metadata',
Expand All @@ -11,6 +11,6 @@ const domainPageTabsErrorConfig = {
message: 'Failed to load settings',
actions: [{ kind: 'retry', label: 'Retry' }],
}),
} as const satisfies DomainPageTabsErrorConfig;
} as const;

export default domainPageTabsErrorConfig;
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export default function DomainPageTabsError({ error, reset }: Props) {
error={error}
message={errorConfig.message}
actions={errorConfig.actions}
omitLogging={errorConfig.omitLogging}
reset={reset}
/>
);
Expand Down

0 comments on commit fbc2223

Please sign in to comment.