Merge pull request #15494 from nextcloud/bugfix/noid/revert-displayName-casing
Revert displayName casing
This commit is contained in:
commit
05770c7dbb
5 changed files with 2 additions and 2 deletions
BIN
core/js/dist/login.js
vendored
BIN
core/js/dist/login.js
vendored
Binary file not shown.
BIN
core/js/dist/login.js.map
vendored
BIN
core/js/dist/login.js.map
vendored
Binary file not shown.
BIN
core/js/dist/main.js
vendored
BIN
core/js/dist/main.js
vendored
Binary file not shown.
BIN
core/js/dist/main.js.map
vendored
BIN
core/js/dist/main.js.map
vendored
Binary file not shown.
|
@ -22,7 +22,7 @@
|
|||
const rawUid = document
|
||||
.getElementsByTagName('head')[0]
|
||||
.getAttribute('data-user')
|
||||
const displayname = document
|
||||
const displayName = document
|
||||
.getElementsByTagName('head')[0]
|
||||
.getAttribute('data-user-displayname')
|
||||
|
||||
|
@ -31,6 +31,6 @@ export const currentUser = rawUid !== undefined ? rawUid : false
|
|||
export const getCurrentUser = () => {
|
||||
return {
|
||||
uid: currentUser,
|
||||
displayname,
|
||||
displayName,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue