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:
@@ -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) => {
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
@@ -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[]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user