forked from MapComplete/MapComplete
Remove images from morescreen, move professional-services link from import helper
This commit is contained in:
parent
4ebf288bd6
commit
f066000ed1
2 changed files with 2 additions and 5 deletions
|
@ -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 ?? "") === "") {
|
||||
|
|
|
@ -36,16 +36,13 @@ export default class LoginToImport extends Combine implements FlowStep<UserRelat
|
|||
.onClick(() => 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<UserRelatedState>(state)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue