mirror of
https://github.com/hasura/graphql-engine.git
synced 2024-12-14 08:02:15 +03:00
console: fix tree view not refreshed after SQL execution
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/9683 GitOrigin-RevId: 6e967052b4f8024fb1166220c777f9aa9ca3fdcf
This commit is contained in:
parent
d32ae8ea05
commit
1a1e046b47
@ -42,6 +42,7 @@ import { unsupportedRawSQLDrivers } from './utils';
|
||||
import { nativeDrivers } from '../../../../features/DataSource';
|
||||
import { useRunSQL } from './hooks/useRunSQL';
|
||||
import { useFireNotification } from '../../../../new-components/Notifications';
|
||||
import _push from '../push';
|
||||
|
||||
const checkChangeLang = (sql, selectedDriver) => {
|
||||
return (
|
||||
@ -205,9 +206,11 @@ const RawSQL = ({
|
||||
selectedDriver
|
||||
)
|
||||
);
|
||||
dispatch(_push('/data/sql'));
|
||||
return;
|
||||
}
|
||||
dispatch(executeSQL(false, '', statementTimeout, selectedDatabase));
|
||||
dispatch(_push('/data/sql'));
|
||||
};
|
||||
|
||||
const getMigrationWarningModal = () => {
|
||||
|
Loading…
Reference in New Issue
Block a user