use loggedIn instead of accountName in the toolbar

pull/1/head
ansuz 5 years ago
parent e3042c94d8
commit 6f7307c446

@ -3384,7 +3384,7 @@ define([
} }
options.push({ tag: 'hr' }); options.push({ tag: 'hr' });
// Add login or logout button depending on the current status // Add login or logout button depending on the current status
if (accountName) { if (priv.loggedIn) {
options.push({ options.push({
tag: 'a', tag: 'a',
attributes: { attributes: {

Loading…
Cancel
Save