adds team flags in teams view