Skip to content

Commit

Permalink
fix: config for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pnicolli committed Feb 27, 2025
1 parent 3962ae9 commit cf61bcb
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/config/italiaConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ import {
FALLBACK_IMAGE_SRC_MAX_W,
} from 'design-comuni-plone-theme/helpers/images';

const ReleaseLog = loadable(() =>
import('design-comuni-plone-theme/components/ReleaseLog/ReleaseLog'),
const ReleaseLog = loadable(
() => import('design-comuni-plone-theme/components/ReleaseLog/ReleaseLog'),
);

const messages = defineMessages({
Expand Down Expand Up @@ -371,7 +371,8 @@ export default function applyConfig(voltoConfig) {
],
// Enable Feedback component in your CMS/Non content routes
feedbackEnabledNonContentRoutes: [
...config.settings['volto-feedback'].feedbackEnabledNonContentRoutes,
...(config.settings['volto-feedback']
?.feedbackEnabledNonContentRoutes ?? []),
{
path: '/login',
feedbackTitle: messages.auth_ft,
Expand Down

0 comments on commit cf61bcb

Please sign in to comment.