Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Only show admin ID fetcher if there are actually items here

  • Loading branch information...
commit e2132c9b5ae3f76e8ffa15eb34175c2e41df37b2 1 parent da32b08
@cubehouse cubehouse authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  js/admin.js
View
2  js/admin.js
@@ -276,7 +276,7 @@ define(["config", "popup", "api", "msg", "items", "forms", "jquery", "jqueryui/s
}
// get cat IDs
- if (_config.settings.database_scan && list.type == "cat" && data) {
+ if (_config.settings.database_scan && list.type == "cat" && data && data.items && data.items.length) {
menus.push(
{
name: "Get Item IDs",
Please sign in to comment.
Something went wrong with that request. Please try again.