1
0
mirror of https://github.com/mailcow/mailcow-dockerized.git synced 2025-02-03 13:22:17 +02:00

Update admin.js

Fix "→" is not displayed when username is save with uppercase
See bevor:  https://i.tobias.bayern/9XGMoS5g.png
See after change: https://i.tobias.bayern/QvupZ23j.png
This commit is contained in:
Tobias 2019-09-05 19:08:41 +02:00 committed by GitHub
parent f87beded34
commit 70187836e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -280,7 +280,7 @@ jQuery(function($){
});
} else if (table == 'adminstable') {
$.each(data, function (i, item) {
if (admin_username == item.username) {
if (admin_username.toLowerCase() == item.username.toLowerCase()) {
item.usr = '→ ' + item.username;
} else {
item.usr = item.username;