-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(orchestrator):add view variables dialog #312
Conversation
Changed Packages
|
@@ -89,7 +97,11 @@ export const WorkflowInstancePageContent: React.FC<{ | |||
); | |||
|
|||
const workflowdata = assessedInstance.instance?.workflowdata; | |||
let instanceVariables; | |||
let instanceVariables: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let instanceVariables: { | |
let instanceVariables: WorkflowDataDTO; |
setIsVariablesDialogOpen(prev => !prev); | ||
}, []); | ||
|
||
const VariablesDialogContent = () => ( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: by moving this component out of this function and passing instanceVariables
as its property, the code will be cleaner and the component will not be re-created with every run.
Anyway, not a big issue in that particular case.
Signed-off-by: Lior Soffer <[email protected]>
Signed-off-by: Lior Soffer <[email protected]>
|
resolve FLPATH-2001
long list case:
