Kylie Jo Swistak 6 年之前
父节点
当前提交
3b763fa176
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/responses/character.rb

+ 1 - 1
app/responses/character.rb

@@ -96,7 +96,7 @@ def char_bio(char, fields, char_teams)
   )if char.dm_notes
   fields.push(
     { name: 'Team', value: teams.join("\n") }
-  )
+  )if !teams.empty?
 
   fields
 end