Skip to content

Commit 6556dfc

Browse files
authored
Merge pull request #1409 from lowcoder-org/fix/category_null
Fix fallback issue for category and other settings
2 parents 9bf48c1 + 3a12dd8 commit 6556dfc

File tree

1 file changed

+3
-3
lines changed
  • server/api-service/lowcoder-domain/src/main/java/org/lowcoder/domain/application/model

1 file changed

+3
-3
lines changed

server/api-service/lowcoder-domain/src/main/java/org/lowcoder/domain/application/model/Application.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ public Mono<String> getCategory(ApplicationRecordService applicationRecordServic
178178
} else {
179179
return "";
180180
}
181-
});
181+
}).onErrorReturn("");
182182
}
183183

184184
public Mono<String> getTitle(ApplicationRecordService applicationRecordService) {
@@ -192,7 +192,7 @@ public Mono<String> getTitle(ApplicationRecordService applicationRecordService)
192192
} else {
193193
return "";
194194
}
195-
});
195+
}).onErrorReturn("");
196196
}
197197

198198
public Mono<String> getDescription(ApplicationRecordService applicationRecordService) {
@@ -207,7 +207,7 @@ public Mono<String> getDescription(ApplicationRecordService applicationRecordSer
207207
return "";
208208
}
209209
}
210-
);
210+
).onErrorReturn("");
211211
}
212212

213213
public Mono<String> getIcon(ApplicationRecordService applicationRecordService) {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy