diff options
author | Michael Muré <batolettre@gmail.com> | 2019-11-03 13:09:55 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-11-03 13:09:55 +0000 |
commit | 8c7c9880b1adcf876ad63ea39e46e62bd7ebde5d (patch) | |
tree | f9c6369a6593e3c00cfb3c0b45009dfb6d055d7b /graphql/resolvers | |
parent | f5193cc76dd1a1c1bb55194a64ef90bae2278115 (diff) | |
parent | 912b5ca320891f2a4f1a88f1a137ce8ee46a1a03 (diff) | |
download | git-bug-8c7c9880b1adcf876ad63ea39e46e62bd7ebde5d.tar.gz |
Merge pull request #228 from ludovicm67/patch-cli-label-colors
Display label colors in termui
Diffstat (limited to 'graphql/resolvers')
-rw-r--r-- | graphql/resolvers/label.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphql/resolvers/label.go b/graphql/resolvers/label.go index 690bf7f6..0368a1e6 100644 --- a/graphql/resolvers/label.go +++ b/graphql/resolvers/label.go @@ -19,7 +19,7 @@ func (labelResolver) Name(ctx context.Context, obj *bug.Label) (string, error) { } func (labelResolver) Color(ctx context.Context, obj *bug.Label) (*color.RGBA, error) { - rgba := obj.RGBA() + rgba := obj.Color().RGBA() return &rgba, nil } |