diff --git a/ng-app/src/apps/SparqlQueryEditor.svelte b/ng-app/src/apps/SparqlQueryEditor.svelte index a835018..9f08198 100644 --- a/ng-app/src/apps/SparqlQueryEditor.svelte +++ b/ng-app/src/apps/SparqlQueryEditor.svelte @@ -52,7 +52,7 @@ let union = false; const run = async () => { try{ - reset_toasts(); + await reset_toasts(); results = await sparql_query($in_memory_discrete, union); } catch(e) { toast_error(display_error(e)); diff --git a/ng-app/src/apps/SparqlUpdateEditor.svelte b/ng-app/src/apps/SparqlUpdateEditor.svelte index 9bf78fb..fd6115f 100644 --- a/ng-app/src/apps/SparqlUpdateEditor.svelte +++ b/ng-app/src/apps/SparqlUpdateEditor.svelte @@ -38,7 +38,7 @@ }); const run = async () => { try{ - reset_toasts(); + await reset_toasts(); await sparql_update($in_memory_discrete); toast_success($t("app.sparql_update_editor.success")); } catch(e) { @@ -52,7 +52,6 @@