diff --git a/fkie_mas_gui/src/renderer/components/TopicTreeView/TopicTreeItem.jsx b/fkie_mas_gui/src/renderer/components/TopicTreeView/TopicTreeItem.jsx index d0a24bdf..765e2e83 100644 --- a/fkie_mas_gui/src/renderer/components/TopicTreeView/TopicTreeItem.jsx +++ b/fkie_mas_gui/src/renderer/components/TopicTreeView/TopicTreeItem.jsx @@ -147,8 +147,18 @@ const TopicTreeItem = React.forwardRef(function TopicTreeItem( }} > {labelInfo && ( - - [{labelInfo}] + { + if (e.detail === 2) { + navigator.clipboard.writeText(labelInfo); + logCtx.success(`${labelInfo} copied!`); + } + }} + > + {labelInfo} )} {labelCount > 0 && (