rename pageBasename by pageId

This commit is contained in:
Joseph Garrone
2021-03-06 22:41:36 +01:00
parent 6eccd313b6
commit 307650aaea
10 changed files with 68 additions and 24 deletions

View File

@ -12,7 +12,7 @@ export const KcApp = memo((props: KcProps) => {
assert(kcContext !== undefined, "App is not currently served by a Keycloak server");
switch (kcContext.pageBasename) {
switch (kcContext.pageId) {
case "login.ftl": return <Login {...props} />;
case "register.ftl": return <Register {...props} />;
case "info.ftl": return <Info {...props} />;