use loggedIn instead of accountName in the toolbar

This commit is contained in:
ansuz
2020-03-04 14:09:28 -05:00
parent e3042c94d8
commit 6f7307c446

View File

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