Skip to content

Commit

Permalink
feat: tags
Browse files Browse the repository at this point in the history
  • Loading branch information
杨国璇 authored and 杨国璇 committed Jan 2, 2025
1 parent 071d611 commit 9e30c3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repo_metadata/view_data_sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ def __init__(self, column, filter_item, tags_data):

def _get_tag_name_by_id(self, tag_id):
if not self.tags_data:
return tag_id
return ''
for tag in self.tags_data:
if tag.get(TAGS_TABLE.columns.id.name) == tag_id:
return tag.get(TAGS_TABLE.columns.name.name)
Expand Down

0 comments on commit 9e30c3f

Please sign in to comment.