|
@@ -455,18 +455,6 @@ export const tasks = {
|
|
|
repeatFor: 1,
|
|
|
},
|
|
|
},
|
|
|
- // 'reload-page': {
|
|
|
- // name: 'Reload page',
|
|
|
- // icon: 'riRestartLine',
|
|
|
- // component: 'BlockBasic',
|
|
|
- // category: 'interaction',
|
|
|
- // inputs: 1,
|
|
|
- // outputs: 1,
|
|
|
- // allowedInputs: true,
|
|
|
- // maxConnection: 1,
|
|
|
- // disableEdit: true,
|
|
|
- // data: {},
|
|
|
- // },
|
|
|
'javascript-code': {
|
|
|
name: 'JavaScript code',
|
|
|
description: 'Execute your custom javascript code in a webpage',
|
|
@@ -848,6 +836,19 @@ export const tasks = {
|
|
|
variableName: '',
|
|
|
},
|
|
|
},
|
|
|
+ 'reload-tab': {
|
|
|
+ name: 'Reload tab',
|
|
|
+ description: 'Reload the active tab',
|
|
|
+ icon: 'riRestartLine',
|
|
|
+ component: 'BlockBasic',
|
|
|
+ category: 'browser',
|
|
|
+ inputs: 1,
|
|
|
+ outputs: 1,
|
|
|
+ allowedInputs: true,
|
|
|
+ maxConnection: 1,
|
|
|
+ disableEdit: true,
|
|
|
+ data: {},
|
|
|
+ },
|
|
|
};
|
|
|
|
|
|
export const categories = {
|