File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed
frontend/src/components/common/Resource Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,7 @@ import { useTranslation } from 'react-i18next';
26
26
import { useSelectedClusters } from '../../../lib/k8s' ;
27
27
import { Activity } from '../../activity/Activity' ;
28
28
import ActionButton from '../ActionButton' ;
29
+ import { TutorialToolTip } from '../Tutorial/TutorialToolTip' ;
29
30
import EditorDialog from './EditorDialog' ;
30
31
31
32
interface CreateButtonProps {
@@ -53,6 +54,8 @@ export default function CreateButton(props: CreateButtonProps) {
53
54
}
54
55
} , [ clusters ] ) ;
55
56
57
+ const buttonText = < TutorialToolTip context = "CreateButton" labelText = { t ( 'translation|Create' ) } /> ;
58
+
56
59
const openActivity = ( ) => {
57
60
const id = 'create-button' ;
58
61
Activity . launch ( {
@@ -128,7 +131,7 @@ export default function CreateButton(props: CreateButtonProps) {
128
131
} ,
129
132
} ) }
130
133
>
131
- { t ( 'translation|Create' ) }
134
+ { buttonText }
132
135
</ Button >
133
136
) }
134
137
</ React . Fragment >
You can’t perform that action at this time.
0 commit comments