diff --git a/src/facilities/studio/studio.js b/src/facilities/studio/studio.js index 64fef5b3bb805f0567e3239ca3cc26ef3a7e58dc..ec90569d1b8ffb6bbae1d80e9204beab68bd4648 100644 --- a/src/facilities/studio/studio.js +++ b/src/facilities/studio/studio.js @@ -101,10 +101,6 @@ App.UI.mediaStudio = function() { App.UI.DOM.appendNewElement("h2", t, `Genre Coverage`); - // generate a table - // one row per genre - // columns: genre name, number of slaves qualifying, number of slaves focusing, number of slaves attracting viewership in that genre, number of porn stars, has world famous porn star - function grayZero(number) { if (number === 0) { return `<span class="gray">-</span>`; @@ -126,7 +122,7 @@ App.UI.mediaStudio = function() { const table = App.UI.DOM.appendNewElement("table", t, ``, ["genre-stats"]); const thead = App.UI.DOM.appendNewElement("thead", table); - App.UI.DOM.makeRow(thead, "Genre name", "Slaves qualified", "Slaves focusing", "Investment", "Saturation", "Active pornstars", "World-famous pornstar"); + App.UI.DOM.makeRow(thead, "Genre", "Slaves qualified", "Slaves focusing", "Investment", "Saturation", "Active pornstars", "World-famous pornstar"); const tbody = App.UI.DOM.appendNewElement("tbody", table); for (const [genre, stats] of byGenre) { App.UI.DOM.makeRow(tbody, `<span class="genre ${stats.type}">${genre}</span>`, grayZero(stats.qualified), grayZero(stats.focusing), cashFormatColor(stats.investment), grayZero(stats.p1), grayZero(stats.highFame), stats.p3 ? `✓` : ``);