rename info service to toast service

This commit is contained in:
zadam
2019-10-20 10:00:18 +02:00
parent 1903c59163
commit 78f5b7b288
26 changed files with 92 additions and 92 deletions

View File

@@ -1,6 +1,6 @@
import libraryLoader from '../services/library_loader.js';
import server from '../services/server.js';
import infoService from "../services/info.js";
import toastService from "../services/toast.js";
import utils from "../services/utils.js";
const $dialog = $("#sql-console-dialog");
@@ -63,11 +63,11 @@ async function execute() {
});
if (!result.success) {
infoService.showError(result.error);
toastService.showError(result.error);
return;
}
else {
infoService.showMessage("Query was executed successfully.");
toastService.showMessage("Query was executed successfully.");
}
const rows = result.rows;