Skip to content

Commit

Permalink
Fix #533, let's just skip registering the dev help if fabric isn't av…
Browse files Browse the repository at this point in the history
…ailable.
  • Loading branch information
gashcrumb committed Oct 18, 2013
1 parent 138d06b commit b182c33
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hawtio-web/src/main/webapp/app/fabric/js/fabricPlugin.ts
Expand Up @@ -133,7 +133,9 @@ module Fabric {
isActive: (workspace:Workspace) => workspace.isLinkActive("/insight")
});

helpRegistry.addDevDoc("fabric", 'app/fabric/doc/developer.md');
if (Fabric.hasFabric(workspace)) {
helpRegistry.addDevDoc("fabric", 'app/fabric/doc/developer.md');
}

});

Expand Down

0 comments on commit b182c33

Please sign in to comment.