Reroute to landing page from previously registered extension cluster pages (#4385)

This commit is contained in:
Sebastian Malton authored and GitHub committed 2022-01-12 08:47:42 -05:00
1 parent 39beca0639
commit 2ee47a442a
4 files changed
+6 -63

No files matched your search

+1 -4
View File
@@ -135,10 +135,7 @@ class PageRegistry extends BaseRegistry<PageRegistration, RegisteredPage> {
);
if (notAStringValue && !(parse || stringify)) {
throw new Error(
`PageRegistry: param's "${paramName}" initialization has failed:
paramInit.parse() and paramInit.stringify() are required for non string | string[] "defaultValue"`,
);
throw new Error(`PageRegistry: param's "${paramName}" initialization has failed: paramInit.parse() and paramInit.stringify() are required for non string | string[] "defaultValue"`);
}
paramInit.defaultValue = value;