fix(sqllab): inconsistent addNewQueryEditor behavior (#21999)

This commit is contained in:
JUST.in DO IT
2023-01-30 15:54:03 -08:00
committed by GitHub
parent f2b61fca15
commit 19779d7517
5 changed files with 95 additions and 29 deletions

View File

@@ -319,7 +319,7 @@ const SqlEditor = ({
key: userOS === 'Windows' ? 'ctrl+q' : 'ctrl+t',
descr: t('New tab'),
func: () => {
dispatch(addNewQueryEditor(queryEditor));
dispatch(addNewQueryEditor());
},
},
{