Remove [next] from template actions
This commit is contained in:
@@ -217,14 +217,10 @@ export function TemplateListScreen(): React.ReactElement {
|
|||||||
action.roles.length,
|
action.roles.length,
|
||||||
index
|
index
|
||||||
);
|
);
|
||||||
const sourceSuffix = action.source === 'next'
|
|
||||||
? ' [next]'
|
|
||||||
: action.source === 'starting+next'
|
|
||||||
? ' [start+next]'
|
|
||||||
: '';
|
|
||||||
return {
|
return {
|
||||||
key: action.actionIdentifier,
|
key: action.actionIdentifier,
|
||||||
label: `${formatted.label}${sourceSuffix}`,
|
label: `${formatted.label}`,
|
||||||
description: formatted.description,
|
description: formatted.description,
|
||||||
value: action,
|
value: action,
|
||||||
hidden: !formatted.isValid,
|
hidden: !formatted.isValid,
|
||||||
|
|||||||
Reference in New Issue
Block a user