mirror of
https://gitlab.com/RemixDev/deemix-gui-pyweb.git
synced 2025-02-14 17:30:11 +00:00
Added toast messages
This commit is contained in:
parent
07add62470
commit
8785497a67
|
@ -38,10 +38,7 @@ def landing():
|
||||||
@socketio.on('init')
|
@socketio.on('init')
|
||||||
def handle_init():
|
def handle_init():
|
||||||
can_start = app.initialize()
|
can_start = app.initialize()
|
||||||
if can_start:
|
emit('toast', {'msg': "App initialized!", 'icon': 'done'})
|
||||||
response = {'status': 'ok'}
|
|
||||||
else:
|
|
||||||
response = {'status': 'error'}
|
|
||||||
|
|
||||||
@socketio.on('mainSearch')
|
@socketio.on('mainSearch')
|
||||||
def mainSearch(data):
|
def mainSearch(data):
|
||||||
|
|
Loading…
Reference in a new issue