fix commit flags showing on the commits tab
This makes the commit flags show on the commit tab again,
which was broken after the update to the new UI.
This basically just fixes the issue, but this could def
be make to look a little better with icons and stuff,
but as the colours for these statuses are in the config file,
decided to leave this for a later time.
Fixes: #3600