|
@@ -21,11 +21,19 @@
|
|
<span> Stations</span>
|
|
<span> Stations</span>
|
|
</a>
|
|
</a>
|
|
</li>
|
|
</li>
|
|
|
|
+ <li :class='{ "is-active": currentTab == "reports" }' @click='showTab("reports")'>
|
|
|
|
+ <a>
|
|
|
|
+ <i class="material-icons">report_problem</i>
|
|
|
|
+ <span> Reports</span>
|
|
|
|
+ </a>
|
|
|
|
+ </li>
|
|
</ul>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
|
|
+
|
|
<queue-songs v-if='currentTab == "queueSongs"'></queue-songs>
|
|
<queue-songs v-if='currentTab == "queueSongs"'></queue-songs>
|
|
<songs v-if='currentTab == "songs"'></songs>
|
|
<songs v-if='currentTab == "songs"'></songs>
|
|
<stations v-if='currentTab == "stations"'></stations>
|
|
<stations v-if='currentTab == "stations"'></stations>
|
|
|
|
+ <reports v-if='currentTab == "reports"'></reports>
|
|
</div>
|
|
</div>
|
|
</template>
|
|
</template>
|
|
|
|
|
|
@@ -36,9 +44,10 @@
|
|
import QueueSongs from '../Admin/QueueSongs.vue';
|
|
import QueueSongs from '../Admin/QueueSongs.vue';
|
|
import Songs from '../Admin/Songs.vue';
|
|
import Songs from '../Admin/Songs.vue';
|
|
import Stations from '../Admin/Stations.vue';
|
|
import Stations from '../Admin/Stations.vue';
|
|
|
|
+ import Reports from '../Admin/Reports.vue';
|
|
|
|
|
|
export default {
|
|
export default {
|
|
- components: { MainHeader, MainFooter, QueueSongs, Songs, Stations },
|
|
|
|
|
|
+ components: { MainHeader, MainFooter, QueueSongs, Songs, Stations, Reports },
|
|
data() {
|
|
data() {
|
|
return {
|
|
return {
|
|
currentTab: 'queueSongs'
|
|
currentTab: 'queueSongs'
|