test
This commit is contained in:
parent
09a0779180
commit
cfaaeebd4a
1 changed files with 3 additions and 2 deletions
|
@ -24,7 +24,8 @@ public class AppConfig {
|
|||
|
||||
@Bean(name = "appName")
|
||||
public String appName() {
|
||||
return applicationProperties.getUi().getHomeName();
|
||||
String homeTitle = applicationProperties.getUi().getHomeName();
|
||||
return (homeTitle != null) ? homeTitle : "Stirling PDF";
|
||||
}
|
||||
|
||||
@Bean(name = "appVersion")
|
||||
|
@ -42,7 +43,7 @@ public class AppConfig {
|
|||
@Bean(name = "navBarText")
|
||||
public String navBarText() {
|
||||
String defaultNavBar = applicationProperties.getUi().getNavbarName() != null ? applicationProperties.getUi().getNavbarName() : applicationProperties.getUi().getHomeName();
|
||||
return defaultNavBar;
|
||||
return (defaultNavBar != null) ? defaultNavBar : "Stirling PDF";
|
||||
}
|
||||
|
||||
@Bean(name = "rateLimit")
|
||||
|
|
Loading…
Reference in a new issue