removed console logs
All checks were successful
CSGOWTF/csgowtf/pipeline/head This commit looks good
All checks were successful
CSGOWTF/csgowtf/pipeline/head This commit looks good
This commit is contained in:
@@ -4,24 +4,23 @@
|
||||
<h3 class="text-center mt-2">Multi-Kills</h3>
|
||||
<MultiKillsChart/>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="spray">
|
||||
<h3 class="text-center">Spray</h3>
|
||||
<SprayGraph :spray="data.spray"/>
|
||||
</div>
|
||||
<!-- <hr>-->
|
||||
<!-- <div class="spray">-->
|
||||
<!-- <h3 class="text-center">Spray</h3>-->
|
||||
<!-- <SprayGraph :spray="data.spray"/>-->
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import MultiKillsChart from "@/components/MultiKillsChart";
|
||||
import SprayGraph from "@/components/SprayGraph";
|
||||
import {useStore} from "vuex";
|
||||
import {onMounted, reactive} from "vue";
|
||||
import {GetWeaponDmg} from "@/utils";
|
||||
|
||||
export default {
|
||||
name: "Details",
|
||||
components: {SprayGraph, MultiKillsChart},
|
||||
components: {MultiKillsChart},
|
||||
setup() {
|
||||
const store = useStore()
|
||||
|
||||
|
@@ -144,10 +144,7 @@ export default {
|
||||
}
|
||||
|
||||
document.addEventListener('click', (e) => {
|
||||
if (e.target.attributes.id) {
|
||||
if (e.target.attributes.id.name === 'searchform' || e.target.attributes.id.name === 'search' || e.target.attributes.id.name === 'search-button')
|
||||
console.log('test')
|
||||
} else
|
||||
if (!e.target.attributes.id)
|
||||
closeNav('mainNav')
|
||||
})
|
||||
|
||||
|
@@ -15,7 +15,7 @@ export default {
|
||||
},
|
||||
setup(props) {
|
||||
watch(() => props.spray, () => {
|
||||
console.log(props.spray)
|
||||
// console.log(props.spray)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
@@ -49,7 +49,7 @@ export default {
|
||||
|
||||
scrollToPos(window.scrollY)
|
||||
|
||||
console.log(data.matches)
|
||||
// console.log(data.matches)
|
||||
}
|
||||
|
||||
onMounted(async () => {
|
||||
@@ -67,9 +67,9 @@ export default {
|
||||
|
||||
scrollToPos(store.state.scroll_state)
|
||||
|
||||
if (data.matches) {
|
||||
console.log(data.matches)
|
||||
}
|
||||
// if (data.matches) {
|
||||
// console.log(data.matches)
|
||||
// }
|
||||
})
|
||||
|
||||
onBeforeUnmount(() => {
|
||||
|
@@ -212,7 +212,7 @@ export default {
|
||||
data: CreatePlayersArray(data.stats)
|
||||
})
|
||||
|
||||
console.log(data.matchDetails)
|
||||
// console.log(data.matchDetails)
|
||||
}
|
||||
} else {
|
||||
errorHandling(404)
|
||||
|
@@ -205,7 +205,7 @@ export default {
|
||||
if (Object.entries(store.state.playerDetails).length === 0) {
|
||||
GetPlayer()
|
||||
} else {
|
||||
console.log(store.state.playerDetails)
|
||||
// console.log(store.state.playerDetails)
|
||||
SetPlayerData()
|
||||
}
|
||||
}
|
||||
@@ -279,7 +279,7 @@ export default {
|
||||
|
||||
scrollToPos(window.scrollY)
|
||||
|
||||
console.log(store.state.playerDetails)
|
||||
// console.log(store.state.playerDetails)
|
||||
}
|
||||
|
||||
const RefreshData = async () => {
|
||||
@@ -324,9 +324,9 @@ export default {
|
||||
data.playerMeta = await GetPlayerMeta(props.id, displayCounter)
|
||||
})
|
||||
|
||||
watch(() => data.playerMeta, () => {
|
||||
console.log(data.playerMeta)
|
||||
})
|
||||
// watch(() => data.playerMeta, () => {
|
||||
// console.log(data.playerMeta)
|
||||
// })
|
||||
|
||||
onMounted(async () => {
|
||||
const height = window.innerHeight - NAV_HEIGHT - FOOTER_HEIGHT
|
||||
@@ -338,7 +338,7 @@ export default {
|
||||
|
||||
scrollToPos(store.state.scroll_state)
|
||||
|
||||
console.log(store.state.playerDetails)
|
||||
// console.log(store.state.playerDetails)
|
||||
})
|
||||
|
||||
onBeforeUnmount(() => {
|
||||
|
Reference in New Issue
Block a user