{this.getAgentLabel(node)}
{inProgress &&
Generating}
+
+ {!inProgress &&
+ toolbarContributions.length > 0 &&
+ toolbarContributions.map(action =>
+ {
+ e.stopPropagation();
+ this.commandRegistry.executeCommand(action.commandId, node);
+ }}
+ onKeyDown={e => {
+ if (isEnterKey(e)) {
+ e.stopPropagation();
+ this.commandRegistry.executeCommand(action.commandId, node);
+ }
+ }}
+ role='button'
+ >
+ )}
+