Login:Src:App: remove duplicate LanguageCombobox from Wizard

This commit is contained in:
Darya Umrikhina 2024-08-26 11:15:32 +04:00
parent f391fa0463
commit b32cd8c32f

View File

@ -65,7 +65,10 @@ export default async function Layout({
const type = hdrs.get("x-confirm-type") ?? "";
let isComboboxVisible = true;
if (TYPE_LINK_WITHOUT_LNG_COMBOBOX?.includes(type)) {
if (
TYPE_LINK_WITHOUT_LNG_COMBOBOX?.includes(type) ||
objectSettings?.wizardToken
) {
isComboboxVisible = false;
}