Skip to content

Commit

Permalink
fix color of loaded version
Browse files Browse the repository at this point in the history
  • Loading branch information
iLLiCiTiT committed Jun 24, 2024
1 parent 47fafbd commit 403442b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion client/ayon_core/tools/sceneinventory/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,9 @@ def refresh(self, selected=None):
version_label = format_version(version_item.version)
is_hero = version_item.version < 0
is_latest = version_item.is_latest
if not is_latest:
# TODO maybe use different colors for last approved and last
# version? Or don't care about color at all?
if not is_latest and not version_item.is_last_approved:
version_color = self.OUTDATED_COLOR
status_name = version_item.status

Expand Down

0 comments on commit 403442b

Please sign in to comment.