list-history: fix [still active] display for edit entries

This commit is contained in:
Mike McLean 2023-05-10 16:02:31 -04:00 committed by Tomas Kopecek
parent 81767d0930
commit 4fe784fdb5

View file

@ -4284,7 +4284,7 @@ def _print_histline(entry, **kwargs):
parts.insert(1, "(eid %i)" % event_id)
if who:
parts.append(who % x)
if create and x['active']:
if (create and x['active']) or (edit and other[-1]['active']):
parts.append("[still active]")
print(' '.join(parts))
hidden_fields = ['active', 'create_event', 'revoke_event', 'creator_id', 'revoker_id',