Added styling to all workflow actions
This commit is contained in:
@@ -65,6 +65,12 @@ const Workflow = (props) => {
|
||||
return null
|
||||
}
|
||||
|
||||
if (apps === undefined || apps === null || apps.length === 0) {
|
||||
console.log("No apps loaded: ", apps)
|
||||
setConfigureWorkflowModalOpen(false)
|
||||
return null
|
||||
}
|
||||
|
||||
setFirstLoad(workflow.id)
|
||||
const newactions = []
|
||||
for (var key in workflow.actions) {
|
||||
|
||||
@@ -1515,6 +1515,7 @@ const ParsedAction = (props) => {
|
||||
if (newValue !== undefined && newValue !== null) {
|
||||
setNewSelectedAction({"target": {"value": newValue.name}})
|
||||
}
|
||||
|
||||
}}
|
||||
renderOption={(data) => {
|
||||
var newActionname = data.name
|
||||
@@ -1524,6 +1525,7 @@ const ParsedAction = (props) => {
|
||||
|
||||
const iconInfo = GetIconInfo({"name": data.name})
|
||||
const useIcon = iconInfo.originalIcon
|
||||
|
||||
newActionname = (newActionname.charAt(0).toUpperCase()+newActionname.substring(1)).replaceAll("_", " ")
|
||||
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user