mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-22 07:36:01 +00:00
fix
This commit is contained in:
@@ -276,7 +276,7 @@
|
||||
const database = $values?.targetDatabase;
|
||||
|
||||
const resp = await apiCall('database-connections/run-script', { conid, database, sql });
|
||||
const { errorMessage } = resp.data || {};
|
||||
const { errorMessage } = resp || {};
|
||||
if (errorMessage) {
|
||||
showModal(ErrorMessageModal, { title: 'Error when saving', message: errorMessage });
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user