8000 Bug fix/gravatar ui fix (#9211) · reynoldsm88/arangodb@677ffdc · GitHub
[go: up one dir, main page]

Skip to content

Commit 677ffdc

Browse files
hkernbachmchacki
authored andcommitted
Bug fix/gravatar ui fix (arangodb#9211)
* fixed editing of users in the web ui when gravatar was enabled * changelog * Update userManagementView.js rm console log
1 parent 56c9693 commit 677ffdc

File tree

2 files changed

+12
-1
lines changed

2 files changed

+12
-1
lines changed

CHANGELOG

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
devel
22
-----
33

4+
* Fixed editing a user within the web UI if the user added a gravatar profile picture
5+
6+
* allow pregel to select the shard key via `shardKeyAttribute` in pregel start parameters
7+
8+
* Added --server.jwt-secret-keyfile to arangosh.
9+
410
* fixed internal issue #4040: gharial api is now checking existence of `_from` and `_to` vertices
511
during edge replacements and edge updates
612

js/apps/system/_admin/aardvark/APP/frontend/js/views/userManagementView.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,12 @@
208208
}
209209

210210
if ($(e.currentTarget).hasClass('tile')) {
211-
e.currentTarget = $(e.currentTarget).find('.fa');
211+
if ($(e.currentTarget).find('.fa').attr('id')) {
212+
e.currentTarget = $(e.currentTarget).find('.fa');
213+
} else {
214+
// check if gravatar icon is enabled
215+
e.currentTarget = $(e.currentTarget).find('.icon');
216+
}
212217
}
213218

214219
this.collection.fetch({

0 commit comments

Comments
 (0)
0