Skip to content

Commit

Permalink
removed (#1178)
Browse files Browse the repository at this point in the history
  • Loading branch information
rahuldsce authored Jan 18, 2022
1 parent dbf3a38 commit 228893b
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/pages/main/apps/Reg.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,13 +137,6 @@ class AppReg extends Component {
manifestForm.value = undefined;
this.reloadForms()
}
clearServerLessData = (e, form) => {
let serverLessForm = form.parent.form.forms[0]
let serverLessForm1 = form.parent.form.forms[1]
let serverLessForm2 = form.parent.form.forms[2]
serverLessForm.value = undefined, serverLessForm1.value = undefined, serverLessForm2.value = undefined
this.reloadForms()
}

onManifestLoad = (data, extra) => {
let form = extra.form
Expand All @@ -162,11 +155,6 @@ class AppReg extends Component {
{ icon: 'clear', formType: 'IconButton', visible: true, color: 'white', style: { color: 'white', top: 15 }, width: 1, onClick: this.clearManifestData }
])

getServerlessConfig = (form) => {
return ({ uuid: uuid(), field: fields.serverlessConfig, formType: MULTI_FORM, forms: form ? form : this.serverlessConfigForm(), width: 3, visible: true })
}
/**Deployment manifest block */

portForm = () => ([
{ field: fields.portRangeMax, label: 'Port', formType: INPUT, rules: { required: true, type: 'number', min: 1 }, width: 7, visible: true, update: { edit: true }, dataValidateFunc: this.validatePortRange },
{ field: fields.protocol, label: 'Protocol', formType: SELECT, placeholder: 'Select', rules: { required: true, allCaps: true }, width: 4, visible: true, options: ['tcp', 'udp'], update: { edit: true } },
Expand Down

0 comments on commit 228893b

Please sign in to comment.