diff --git a/src/api/PlayerApi.js b/src/api/PlayerApi.js index ab607ff..f764819 100644 --- a/src/api/PlayerApi.js +++ b/src/api/PlayerApi.js @@ -7,7 +7,8 @@ export default class PlayerApi { ban: null, steamids: null, gametime: {}, - lastplay: {} + lastplay: {}, + play_on: null } discord = null; @@ -50,7 +51,7 @@ export default class PlayerApi { let t = []; for (const srv in player.lastplay) { for (const map_name in player.lastplay[srv]) { - t.push([map_name.replace("workshop/", "").split(".ugc")[0], new Date(player.lastplay[srv][map_name] * 1000).toLocaleDateString()]); + t.push([map_name.replace("workshop/", "").split(".ugc")[0], new Date(player.lastplay[srv][map_name] * 1000).toLocaleDateString(), srv]); } } diff --git a/src/components/Others/CustomSvg/SteamSvg.vue b/src/components/Others/CustomSvg/SteamSvg.vue index e4e1606..4f78554 100644 --- a/src/components/Others/CustomSvg/SteamSvg.vue +++ b/src/components/Others/CustomSvg/SteamSvg.vue @@ -1,6 +1,6 @@