From accea954a578c42515332592c44fd933192099b2 Mon Sep 17 00:00:00 2001 From: Shatrughn Gupta Date: Sun, 16 Sep 2018 21:49:40 -0700 Subject: [PATCH] fix: show user email on homepage if name not present --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index e0a9f00..8722f8c 100644 --- a/index.html +++ b/index.html @@ -72,7 +72,7 @@

Scre $('#user-name').textContent = user.name || 'Dashboard' Array.from($$('.hide-if-no-user')).forEach(el => el.classList.remove('hide-if-no-user')) - actionMsg.textContent = user.name ? `You are signed in as ${user.name}` : '' + actionMsg.textContent = `You are signed in as ${user.name || user.email}` $('#auth-buttons').classList.add('hide') } else if (location.search.indexOf('ext-install=1') !== -1) { actionMsg.innerHTML = 'Great! Now that you have installed the RunMyCode Online extension, authenticate below to start running code directly from supported sites. Why authenticate?'