mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-10-26 19:01:39 -04:00
Displaying toast when map import completes/fails.
This commit is contained in:
parent
8ba5b63221
commit
67eebbd084
2 changed files with 9 additions and 1 deletions
|
|
@ -44,6 +44,14 @@ function handleEvents(events) {
|
|||
eventToast('Downloads Disabled', message, 'info');
|
||||
}
|
||||
|
||||
if (event === 'map_import_complete') {
|
||||
eventToast('Map import completed', message, 'info');
|
||||
}
|
||||
|
||||
if (event === 'map_import_failed') {
|
||||
eventToast('Map import failed', message, 'error');
|
||||
}
|
||||
|
||||
if (event === 'user_notify_message') {
|
||||
console.log(message, url);
|
||||
eventToast(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue