diff --git a/src/client/components/msComponent/MSComponentDetailed.tsx b/src/client/components/msComponent/MSComponentDetailed.tsx index 1df302ee..50c5e1f3 100644 --- a/src/client/components/msComponent/MSComponentDetailed.tsx +++ b/src/client/components/msComponent/MSComponentDetailed.tsx @@ -166,9 +166,9 @@ const stateIsStarted = (state: ComponentState): boolean => state <= COMPONENT_ST const componentStateMenuItem = (Icon: IconType, value: string, name?: string) => (props: Pick = {}) => { return ({name ?? capitalize(value)}); } -const MenuItemRestart = componentStateMenuItem(RetryIcon, 'Restart'); -const MenuItemStop = componentStateMenuItem(PowerOffIcon, 'Stop'); -const MenuItemStart = componentStateMenuItem(PowerIcon, 'Start'); +const MenuItemRestart = componentStateMenuItem(RetryIcon, 'restart', 'Restart'); +const MenuItemStop = componentStateMenuItem(PowerOffIcon, 'stop', 'Stop'); +const MenuItemStart = componentStateMenuItem(PowerIcon, 'start', 'Start'); const MenuItemIgnore = componentStateMenuItem(EyeClosedIcon, 'ignore', 'Ignore') const MenuItemMonitor = componentStateMenuItem(EyeIcon, 'monitor', 'Monitor'); const MenuItemAuth = componentStateMenuItem(UnlockIconRaw, 'auth', 'Auth');