Skip to content

Commit e578540

Browse files
committed
Fix the bug
1 parent 0fa0a41 commit e578540

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

dash/dash.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2491,9 +2491,9 @@ def update(pathname_, search_, **states):
24912491
_validate.check_for_duplicate_pathnames(_pages.PAGE_REGISTRY)
24922492
_validate.validate_registry(_pages.PAGE_REGISTRY)
24932493

2494-
# Set validation_layout
2495-
if not self.config.suppress_callback_exceptions:
2496-
layout = self.layout
2494+
# Set validation_layout
2495+
if not self.config.suppress_callback_exceptions:
2496+
layout = self.layout
24972497
if not isinstance(layout, list):
24982498
layout = [
24992499
# pylint: disable=not-callable

0 commit comments

Comments
 (0)