More polishing in the onboarding and usecase generation process

This commit is contained in:
Frikky
2023-10-19 12:37:04 +02:00
parent 9c2751520d
commit f4ebe2d046
3 changed files with 579 additions and 4 deletions
@@ -387,6 +387,8 @@ const WorkflowTemplatePopup = (props) => {
//setIsActive(!isActive)
if (errorMessage !== "") {
toast("Already failed to generate a workflow for this usecase. Please try again later or contact support@shuffler.io.")
setModalOpen(true)
} else if (isActive) {
toast("Workflow already generated. Please try another workflow template!")
@@ -418,7 +420,7 @@ const WorkflowTemplatePopup = (props) => {
<span style={{display: "flex", }}>
<TrendingFlatIcon style={{ marginTop: 7, }} />
<span style={dstapp !== undefined && dstapp.includes(":default") ? imagestyleWrapperDefault : imagestyleWrapper}>
<img src={img2} style={srcapp !== undefined && srcapp.includes(":default") ? imagestyleDefault : imagestyle} />
<img src={img2} style={dstapp !== undefined && dstapp.includes(":default") ? imagestyleDefault : imagestyle} />
</span>
</span>
</Tooltip>