Commit cf72d8a5 authored by Agate's avatar Agate 💬

Fixed #14: added hint that radio is playing in queue

parent d1203627
......@@ -74,6 +74,16 @@
<div v-if="radios.running" class="ui black message">
<div class="content">
<div class="header">
<i class="feed icon"></i> You have a radio playing
<p>New tracks will be appended here automatically.</p>
<div @click="radios.stop()" class="ui basic inverted red button">Stop radio</div>
<div class="ui inverted segment player-wrapper">
......@@ -90,6 +100,7 @@ import SearchBar from '@/components/audio/SearchBar'
import auth from '@/auth'
import queue from '@/audio/queue'
import backend from '@/audio/backend'
import radios from '@/radios'
import $ from 'jquery'
......@@ -105,6 +116,7 @@ export default {
auth: auth,
backend: backend,
queue: queue,
......@@ -30,7 +30,6 @@
<div class=" actions eight wide column">
<track-favorite-icon v-if="queue.currentTrack" :track="queue.currentTrack"></track-favorite-icon>
<i @click="radios.stop()" title="You have a radio playing" v-if="radios.running" class="ui blue inverted feed icon"></i>
<div class="right floated four wide column">
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment