Bunch of fixes for new welcome pages and search fields
This commit is contained in:
@@ -6080,10 +6080,8 @@ const AngularWorkflow = (defaultprops) => {
|
||||
|
||||
// Simmple action swap autocompleter
|
||||
if (selectedAction.parameters !== undefined && newSelectedAction.parameters !== undefined && selectedAction.id === newSelectedAction.id) {
|
||||
console.log("IN ACTION SWAPP")
|
||||
for (var paramkey in selectedAction.parameters) {
|
||||
const param = selectedAction.parameters[paramkey];
|
||||
console.log("PARAM: ", param.name, param.value)
|
||||
|
||||
if (param.value === null || param.value === undefined || param.value.length === 0) {
|
||||
continue
|
||||
@@ -6095,7 +6093,7 @@ const AngularWorkflow = (defaultprops) => {
|
||||
}
|
||||
|
||||
if (param.name === "headers") {
|
||||
console.log("Swap header?")
|
||||
console.log("Swap header? For now, yes")
|
||||
//newSelectedAction.parameters[newParamIndex].value = param.value
|
||||
}
|
||||
|
||||
@@ -6105,7 +6103,6 @@ const AngularWorkflow = (defaultprops) => {
|
||||
if (newParamIndex < 0) {
|
||||
continue
|
||||
}
|
||||
console.log("xisting value: ", newSelectedAction.parameters[newParamIndex].value)
|
||||
|
||||
newSelectedAction.parameters[newParamIndex].value = param.value
|
||||
newSelectedAction.parameters[newParamIndex].autocompleted = true
|
||||
@@ -10853,7 +10850,7 @@ const AngularWorkflow = (defaultprops) => {
|
||||
objectIDs: [workflow.id],
|
||||
timestamp: timestamp,
|
||||
queryID: queryID,
|
||||
userToken: userdata === undefined || userdata === null || userdata.id === undefined ? "" : userdata.id,
|
||||
userToken: userdata === undefined || userdata === null || userdata.id === undefined ? "unauthenticated" : userdata.id,
|
||||
}
|
||||
])
|
||||
} else {
|
||||
|
||||
@@ -1660,7 +1660,7 @@ const AppCreator = (defaultprops) => {
|
||||
data.info["contact"] = basedata.info.contact;
|
||||
} else if (contact === "") {
|
||||
data.info["contact"] = {
|
||||
name: "@shuffle_platform",
|
||||
name: "@Anonymous Shuffle User",
|
||||
url: "https://twitter.com/shuffleio",
|
||||
email: "support@shuffler.io",
|
||||
};
|
||||
|
||||
@@ -146,16 +146,16 @@ const Search = (props) => {
|
||||
/>
|
||||
</Tabs>
|
||||
{curTab === 0 ?
|
||||
<AppGrid maxRows={3} showSuggestion={true} globalUrl={globalUrl} isMobile={isMobile} />
|
||||
<AppGrid maxRows={3} showSuggestion={true} globalUrl={globalUrl} isMobile={isMobile} userdata={userdata} />
|
||||
:
|
||||
curTab === 1 ?
|
||||
<WorkflowGrid maxRows={3} showSuggestion={true} globalUrl={globalUrl} isMobile={isMobile} />
|
||||
<WorkflowGrid maxRows={3} showSuggestion={true} globalUrl={globalUrl} isMobile={isMobile} userdata={userdata} />
|
||||
:
|
||||
curTab === 2 ?
|
||||
<DocsGrid maxRows={3} showSuggestion={true} globalUrl={globalUrl} isMobile={isMobile} />
|
||||
<DocsGrid maxRows={3} showSuggestion={true} globalUrl={globalUrl} isMobile={isMobile} userdata={userdata} />
|
||||
:
|
||||
curTab === 3 ?
|
||||
<CreatorGrid maxRows={3} showSuggestion={true} globalUrl={globalUrl} isMobile={isMobile} />
|
||||
<CreatorGrid maxRows={3} showSuggestion={true} globalUrl={globalUrl} isMobile={isMobile} userdata={userdata} />
|
||||
:
|
||||
null}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user