Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Dev > Main for v2.4.3#1034

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
FalkWolsky merged 6 commits intomainfromdev
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes fromall commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletionclient/packages/lowcoder-sdk/package.json
View file
Open in desktop
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
{
"name": "lowcoder-sdk",
"version": "2.4.6",
"version": "2.4.7",
"type": "module",
"files": [
"src",
Expand Down
12 changes: 8 additions & 4 deletionsclient/packages/lowcoder/src/app.tsx
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -130,12 +130,16 @@ class AppIndex extends React.Component<AppIndexProps, any> {
// make sure all users in this app have checked login info
if (!this.props.isFetchUserFinished || (this.props.currentUserId && !this.props.fetchHomeDataFinished)) {
const hideLoadingHeader = isTemplate || isAuthUnRequired(pathname);
return <ProductLoading hideHeader={hideLoadingHeader} />;
}
else {
// if the user just logged in, we send the event to posthog
if (sessionStorage.getItem('_just_logged_in_')) {
posthog.identify(this.props.currentUserId);
sessionStorage.removeItem('_just_logged_in_');
if (isLocalhost || isLowCoderDomain) {
if (sessionStorage.getItem('_just_logged_in_')) {
posthog.identify(this.props.currentUserId);
sessionStorage.removeItem('_just_logged_in_');
}
}
return <ProductLoading hideHeader={hideLoadingHeader} />;
}

// persisting the language in local storage
Expand Down
View file
Open in desktop
Original file line numberDiff line numberDiff line change
Expand Up@@ -186,7 +186,7 @@ const childrenMap = {
showHeaderInPublic: withDefault(BoolControl, true),
maxWidth: dropdownInputSimpleControl(OPTIONS, USER_DEFINE, "1920"),
themeId: valueComp<string>(DEFAULT_THEMEID),
preventAppStylesOverwriting: withDefault(BoolControl,false),
preventAppStylesOverwriting: withDefault(BoolControl,true),
customShortcuts: CustomShortcutsComp,
disableCollision: valueComp<boolean>(false),
};
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -21,5 +21,5 @@ public interface UserRepository extends ReactiveMongoRepository<User, String> {
Mono<User> findByName(String rawUuid);

//email1 and email2 should be equal
Mono<User> findByEmailOrConnections_Email(String email1, String email2);
Flux<User> findByEmailOrConnections_Email(String email1, String email2);
}
Original file line numberDiff line numberDiff line change
Expand Up@@ -113,7 +113,7 @@ public Mono<User> findByName(String rawUuid) {
}

public Mono<User> findByEmailDeep(String email) {
return repository.findByEmailOrConnections_Email(email, email);
return repository.findByEmailOrConnections_Email(email, email).next();
}

@Override
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -45,6 +45,7 @@ private AuthUser formulateAuthUser() {
return AuthUser.builder()
.uid(username)
.username(username)
.email(username)
.authContext(authRequestContext)
.build();
}
Expand Down

[8]ページ先頭

©2009-2025 Movatter.jp