sources: fix dummy names being suggested as other names.

Fix placeholder names like weibo_1234, bilibili_1234, nijie1234, and nicoseiga1234 being suggested
as Other Names when creating new artist entries. These are meant to be placeholders for the tag
name, not used as other names.
This commit is contained in:
evazion
2022-11-21 14:37:50 -06:00
parent 5559219f0a
commit 2d83500885
10 changed files with 44 additions and 8 deletions

View File

@@ -56,7 +56,11 @@ module Source
end
def tag_name
nil
"tinami_#{user_id}" if user_id.present?
end
def other_names
[artist_name].compact
end
def artist_name