From f066000ed18765a7a4b7c7eafb67a2941d728bd6 Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Sun, 6 Feb 2022 20:18:41 +0100 Subject: [PATCH] Remove images from morescreen, move professional-services link from import helper --- UI/Base/SubtleButton.ts | 2 +- UI/ImportFlow/LoginToImport.ts | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/UI/Base/SubtleButton.ts b/UI/Base/SubtleButton.ts index 0a2915ccd5..34068de72c 100644 --- a/UI/Base/SubtleButton.ts +++ b/UI/Base/SubtleButton.ts @@ -21,7 +21,7 @@ export class SubtleButton extends UIElement { } protected InnerRender(): string | BaseUIElement { - const classes = "block flex p-3 my-2 bg-subtle rounded-lg hover:shadow-xl hover:bg-unsubtle transition-colors transition-shadow link-no-underline"; + const classes = "no-images block flex p-3 my-2 bg-subtle rounded-lg hover:shadow-xl hover:bg-unsubtle transition-colors transition-shadow link-no-underline"; const message = Translations.W(this.message); let img; if ((this.imageUrl ?? "") === "") { diff --git a/UI/ImportFlow/LoginToImport.ts b/UI/ImportFlow/LoginToImport.ts index d878090dad..68991e53bf 100644 --- a/UI/ImportFlow/LoginToImport.ts +++ b/UI/ImportFlow/LoginToImport.ts @@ -36,16 +36,13 @@ export default class LoginToImport extends Combine implements FlowStep state.osmConnection.LogOut()) ]); })), - new Combine([t.loginRequired, - MoreScreen.CreateProffessionalSerivesButton() - ]), + t.loginRequired, state ), new Toggle(undefined, new Combine( [t.lockNotice.Subs(Constants.userJourney).SetClass("alert"), MoreScreen.CreateProffessionalSerivesButton()]) - , isValid) ]) this.Value = new UIEventSource(state)