File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
spring-boot-admin-server-ui/src/main/frontend/shell Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -229,7 +229,7 @@ export default {
229229 data : () => ({
230230 showMenu: false ,
231231 brand: ' <img src="assets/img/icon-spring-boot-admin.svg"><span>Spring Boot Admin</span>' ,
232- 232+ userName: ' ' ,
233233 csrfToken: null ,
234234 csrfParameterName: null ,
235235 currentLanguage: null
@@ -255,7 +255,7 @@ export default {
255255 },
256256 created () {
257257 this .brand = sbaConfig .uiSettings .brand ;
258- // this.userName = sbaConfig.user ? sbaConfig.user.name : null;
258+ this .userName = sbaConfig .user ? sbaConfig .user .name : null ;
259259 this .availableLocales = AVAILABLE_LANGUAGES ;
260260 this .csrfToken = readCookie (' XSRF-TOKEN' );
261261 this .csrfParameterName = sbaConfig .csrf .parameterName ;
You can’t perform that action at this time.
0 commit comments