Skip to content

Commit

Permalink
fix(console-status): fix plugin title
Browse files Browse the repository at this point in the history
  • Loading branch information
tadayosi committed Dec 27, 2024
1 parent 27f0a8d commit 56dad14
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion packages/hawtio/src/plugins/console-status/globals.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { Logger } from '@hawtiosrc/core/logging'

export const pluginId = 'consolestatus'
export const pluginName = 'hawtio-consolestatus'
export const pluginTitle = 'Console Status'
export const pluginPath = '/consolestatus'
export const pluginName = 'hawtio-consolestatus'
export const log = Logger.get(pluginName)
8 changes: 4 additions & 4 deletions packages/hawtio/src/plugins/console-status/index.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
import { HawtioPlugin, hawtio } from '@hawtiosrc/core'
import { connectService, workspace } from '@hawtiosrc/plugins/shared'
import { ConsoleStatus } from './ConsoleStatus'
import { pluginId, pluginPath, pluginName } from './globals'
import { pluginId, pluginPath, pluginTitle } from './globals'

/*
* Target application status plugin
/**
* Target application status plugin,
* only active if the workspace contains no mbeans, ie, totally empty.
* and / or the workspace has produced errors.
* Will communicate this to the user with a notice component.
*/
export const consoleStatus: HawtioPlugin = () => {
hawtio.addPlugin({
id: pluginId,
title: pluginName,
title: pluginTitle,
path: pluginPath,
component: ConsoleStatus,
isActive: async () => {
Expand Down

0 comments on commit 56dad14

Please sign in to comment.