1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-10 19:34: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 {
log: LogObject | string
selectedRunTime: RunTimeType
selectedRunTime: RunTimeType | string
}
const LogComponent = (props: LogComponentProps) => {

View File

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

View File

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