Permalink
Browse files

Only show admin ID fetcher if there are actually items here

  • Loading branch information...
cubehouse committed Sep 10, 2013
1 parent da32b08 commit e2132c9b5ae3f76e8ffa15eb34175c2e41df37b2
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/admin.js
View
@@ -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",

0 comments on commit e2132c9

Please sign in to comment.