mirror of
https://github.com/apache/superset.git
synced 2026-04-23 18:14:56 +00:00
chore: update UI dev libs and fix warnings & vulnerabilities (#24648)
This commit is contained in:
@@ -105,9 +105,9 @@ const RunQueryActionButton = ({
|
||||
: Button;
|
||||
|
||||
const sqlContent = selectedText || sql || '';
|
||||
const isDisabled =
|
||||
!sqlContent ||
|
||||
!sqlContent.replace(/(\/\*[^*]*\*\/)|(\/\/[^*]*)|(--[^.].*)/gm, '').trim();
|
||||
const isDisabled = !sqlContent
|
||||
?.replace(/(\/\*[^*]*\*\/)|(\/\/[^*]*)|(--[^.].*)/gm, '')
|
||||
.trim();
|
||||
|
||||
const stopButtonTooltipText = useMemo(
|
||||
() =>
|
||||
|
||||
Reference in New Issue
Block a user