Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
93a43137
"vscode:/vscode.git/clone" did not exist on "893ee0bc4da8fc18718ad706a1cc0722aa4e49ac"
Unverified
Commit
93a43137
authored
Oct 22, 2020
by
Lijiaoa
Committed by
GitHub
Oct 22, 2020
Browse files
Support show trial command on (remote | reuse) mode (#3020)
parent
e54f9dbd
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
src/webui/src/components/overview/command/Command2.tsx
src/webui/src/components/overview/command/Command2.tsx
+6
-1
src/webui/src/static/interface.ts
src/webui/src/static/interface.ts
+5
-1
No files found.
src/webui/src/components/overview/command/Command2.tsx
View file @
93a43137
...
@@ -11,7 +11,12 @@ export const Command2 = (): any => {
...
@@ -11,7 +11,12 @@ export const Command2 = (): any => {
if
(
clusterMetaData
!==
undefined
)
{
if
(
clusterMetaData
!==
undefined
)
{
for
(
const
item
of
clusterMetaData
)
{
for
(
const
item
of
clusterMetaData
)
{
if
(
item
.
key
===
'
command
'
)
{
if
(
item
.
key
===
'
command
'
)
{
trialCommand
=
item
.
value
;
trialCommand
=
item
.
value
as
string
;
}
if
(
item
.
key
===
'
trial_config
'
)
{
if
(
typeof
item
.
value
===
'
object
'
&&
'
command
'
in
item
.
value
)
{
trialCommand
=
item
.
value
.
command
as
string
;
}
}
}
}
}
}
}
...
...
src/webui/src/static/interface.ts
View file @
93a43137
...
@@ -184,10 +184,14 @@ interface ExperimentParams {
...
@@ -184,10 +184,14 @@ interface ExperimentParams {
};
};
clusterMetaData
?:
{
clusterMetaData
?:
{
key
:
string
;
key
:
string
;
value
:
string
;
value
:
string
|
ClusterItem
;
}[];
}[];
}
}
interface
ClusterItem
{
command
?:
string
;
}
interface
ExperimentProfile
{
interface
ExperimentProfile
{
params
:
ExperimentParams
;
params
:
ExperimentParams
;
id
:
string
;
id
:
string
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment