1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-12 03:54:34 +00:00

fix(log): fixed default runtime

This commit is contained in:
Yury Shkoda
2023-04-11 16:42:24 +03:00
parent c7a73991a7
commit e04300ad2a
3 changed files with 5 additions and 5 deletions

View File

@@ -31,7 +31,7 @@ const useStyles: any = makeStyles((theme: any) => ({
interface LogComponentProps { interface LogComponentProps {
log: LogObject | string log: LogObject | string
selectedRunTime: RunTimeType selectedRunTime: RunTimeType | string
} }
const LogComponent = (props: LogComponentProps) => { const LogComponent = (props: LogComponentProps) => {

View File

@@ -45,8 +45,8 @@ const useEditor = ({
const [log, setLog] = useState<LogObject | string>() const [log, setLog] = useState<LogObject | string>()
const [webout, setWebout] = useState('') const [webout, setWebout] = useState('')
const [runTimes, setRunTimes] = useState<string[]>([]) const [runTimes, setRunTimes] = useState<string[]>([])
const [selectedRunTime, setSelectedRunTime] = useState<RunTimeType>( const [selectedRunTime, setSelectedRunTime] = useState<RunTimeType | string>(
RunTimeType.SAS ''
) )
const [selectedFileExtension, setSelectedFileExtension] = useState('') const [selectedFileExtension, setSelectedFileExtension] = useState('')
const [openFilePathInputModal, setOpenFilePathInputModal] = useState(false) const [openFilePathInputModal, setOpenFilePathInputModal] = useState(false)

View File

@@ -42,6 +42,6 @@ export interface TreeNode {
export interface LogObject { export interface LogObject {
body: string body: string
errors: string[] errors?: string[]
warnings: string[] warnings?: string[]
} }