Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Save a function call for every desk.

  • Loading branch information...
commit dbe2fc156077ba55a38b229d03da15656b0fffd9 1 parent b47b293
@theory theory authored committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  comp/widgets/wrappers/sideNav.mc
View
2  comp/widgets/wrappers/sideNav.mc
@@ -74,7 +74,7 @@ my $get_cookie = sub {
my $asset_counts;
my $desk_caption = sub {
my ($desk_id, $desk_name) = @_;
- return $desk_name unless get_pref('Show Desk Asset Counts');
+ return $desk_name unless $asset_counts;
return sprintf "$desk_name (%d)", $asset_counts->{$desk_id} || 0;
};
</%once>\
Please sign in to comment.
Something went wrong with that request. Please try again.