|
|
@ -21,9 +21,6 @@ export const ScriptRunnerUI = (props: ScriptRunnerUIProps) => { |
|
|
|
const { loadScriptRunner, configurations, activeConfig, enableCustomScriptRunner } = props; |
|
|
|
const { loadScriptRunner, configurations, activeConfig, enableCustomScriptRunner } = props; |
|
|
|
const [activeKey, setActiveKey] = useState('default'); |
|
|
|
const [activeKey, setActiveKey] = useState('default'); |
|
|
|
|
|
|
|
|
|
|
|
useEffect(() => { |
|
|
|
|
|
|
|
}, [activeKey]) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
useEffect(() => { |
|
|
|
useEffect(() => { |
|
|
|
if(activeConfig) { |
|
|
|
if(activeConfig) { |
|
|
|
setActiveKey(activeConfig.name) |
|
|
|
setActiveKey(activeConfig.name) |
|
|
|