From 772ecb7365f3b0c6519af7a1b3e1d54bca8f883f Mon Sep 17 00:00:00 2001 From: yflory Date: Mon, 2 Sep 2019 17:58:36 +0200 Subject: [PATCH] Make sure you always know yourself in the ownerhsip modal --- www/common/common-ui-elements.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/www/common/common-ui-elements.js b/www/common/common-ui-elements.js index bc358cfcf..a8ea163b7 100644 --- a/www/common/common-ui-elements.js +++ b/www/common/common-ui-elements.js @@ -154,6 +154,12 @@ define([ return true; } }); + if (ed === edPublic) { + f = f || user; + if (f.name) { + f.displayName = f.name; + } + } _owners[ed] = f || { displayName: 'Unknown user: '+ ed, // XXX notifications: true,