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