fixed broken icon

This commit is contained in:
2021-11-22 19:08:39 +01:00
parent e6d3a94105
commit 2b45dc8799
2 changed files with 6 additions and 6 deletions

View File

@@ -4,9 +4,9 @@
<div class="flexbreak"></div> <div class="flexbreak"></div>
<div class="toggle-btn"> <div class="toggle-btn">
<span class="fs-6 text-muted" @click="toggleShow"> <span class="fs-6 text-muted" @click="toggleShow">
<span v-if="toggle === 'duration'">Count:</span><span v-if="toggle === 'total'">Duration:</span> <span>Count: </span>
<i id="toggle-off" class="fas fa-toggle-off show" title="Flashcount"></i> <i id="toggle-off" class="fa fa-toggle-off show"></i>
<i id="toggle-on" class="fas fa-toggle-on" title="Flashduration"></i> <i id="toggle-on" class="fa fa-toggle-on"></i>
</span> </span>
</div> </div>
<div class="flexbreak"></div> <div class="flexbreak"></div>
@@ -44,8 +44,8 @@ export default {
onBtn.classList.add('show') onBtn.classList.add('show')
toggle.value = 'total' toggle.value = 'total'
} else if (onBtn.classList.contains('show')) { } else if (onBtn.classList.contains('show')) {
offBtn.classList.add('show')
onBtn.classList.remove('show') onBtn.classList.remove('show')
offBtn.classList.add('show')
toggle.value = 'duration' toggle.value = 'duration'
} }
} }
@@ -190,7 +190,7 @@ export default {
margin: 1rem auto 0; margin: 1rem auto 0;
cursor: pointer; cursor: pointer;
.fas { .fa {
display: none; display: none;
margin-left: 5px; margin-left: 5px;

View File

@@ -22,7 +22,7 @@
title="Open steam profile">{{ title="Open steam profile">{{
store.state.playerDetails.name store.state.playerDetails.name
}} }}
<i class="fa fa-external-link"></i> <i class="fa fa-steam"></i>
</a></h3> </a></h3>
<table class="table table-borderless text-center"> <table class="table table-borderless text-center">
<tr> <tr>