added ability to edit icons and gt them in stats
This commit is contained in:
parent
aa9519e74e
commit
626ba6a542
4 changed files with 26 additions and 3 deletions
|
@ -19,4 +19,18 @@ sub as_hash {
|
|||
return \%category_list;
|
||||
}
|
||||
|
||||
sub as_hash_name_icon {
|
||||
my ( $self ) = @_;
|
||||
|
||||
my %category_list = (
|
||||
(
|
||||
map {
|
||||
$_->name => $_->line_icon,
|
||||
} $self->all
|
||||
),
|
||||
0 => 'Uncategorised',
|
||||
);
|
||||
return \%category_list;
|
||||
}
|
||||
|
||||
1;
|
||||
|
|
Reference in a new issue