volto
volto copied to clipboard
Fix condition for view translation, for missing view case #5351
Fixes clicking on three dots, which causes an error in case of layout is missing,
It's unclear what causes the layout to be missing. However from the asyncconnect code it's obvious that this is a case to be prepared for, therefore we must be tolerant in the case the layout to be unset, instead of letting the translations engine fail - which caused this error.
Remark: I've checked manually that if there is <=1 views, the selector does not show, iow the current behaviour is preserved together with the fix, too.
Deploy Preview for volto canceled.
Name | Link |
---|---|
Latest commit | 38793e2cb055d80ddef5193c5ad562702cca9354 |
Latest deploy log | https://app.netlify.com/sites/volto/deploys/6540e1371249e500086486d1 |
Deploy Preview for volto canceled.
Name | Link |
---|---|
Latest commit | 75568c71e0c658d781050ab36773acb9428e665d |
Latest deploy log | https://app.netlify.com/sites/volto/deploys/6557389c561f520008f1c0bf |
@reebalazs unit tests fail