@internetarchive/ia-topnav 1.1.27-alpha1 → 1.1.28-alpha1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/ia-topnav.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@internetarchive/ia-topnav",
3
- "version": "1.1.27-alpha1",
3
+ "version": "1.1.28-alpha1",
4
4
  "description": "Top nav for Internet Archive",
5
5
  "license": "AGPL-3.0-only",
6
6
  "main": "index.js",
package/src/ia-topnav.js CHANGED
@@ -228,7 +228,7 @@ export default class IATopNav extends LitElement {
228
228
  adminItems = adminItems.concat(this.menus.userAdminFlags);
229
229
  }
230
230
 
231
- return this.admin && !this.suppressAdminLinks
231
+ return this.itemIdentifier && this.admin
232
232
  ? [basicItems, adminItems]
233
233
  : basicItems;
234
234
  }