Skip to content

Commit

Permalink
Switch back to APP_NAME for now
Browse files Browse the repository at this point in the history
  • Loading branch information
Heenawter committed Aug 16, 2023
1 parent 00d3c80 commit 6fa536c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 16 deletions.
7 changes: 0 additions & 7 deletions src/plugins/navigation_embeddable/common/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,3 @@ export const APP_ICON = 'link';
export const APP_NAME = i18n.translate('navigationEmbeddable.visTypeAlias.title', {
defaultMessage: 'Links',
});

export const EMBEDDABLE_DISPLAY_NAME = i18n.translate(
'navigationEmbeddable.embeddableDisplayName',
{
defaultMessage: 'links',
}
);
8 changes: 1 addition & 7 deletions src/plugins/navigation_embeddable/common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,4 @@
* Side Public License, v 1.
*/

export {
APP_ICON,
APP_NAME,
CONTENT_ID,
LATEST_VERSION,
EMBEDDABLE_DISPLAY_NAME,
} from './constants';
export { APP_ICON, APP_NAME, CONTENT_ID, LATEST_VERSION } from './constants';
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ import {
NavigationEmbeddableByReferenceInput,
NavigationEmbeddableInput,
} from './types';
import { APP_ICON, APP_NAME, CONTENT_ID } from '../../common';
import type { NavigationEmbeddable } from './navigation_embeddable';
import { NAV_VERTICAL_LAYOUT } from '../../common/content_management';
import { APP_ICON, APP_NAME, CONTENT_ID, EMBEDDABLE_DISPLAY_NAME } from '../../common';
import { getNavigationEmbeddableAttributeService } from '../services/attribute_service';
import { coreServices, untilPluginStartServicesReady } from '../services/kibana_services';

Expand Down Expand Up @@ -126,7 +126,7 @@ export class NavigationEmbeddableFactoryDefinition
}

public getDisplayName() {
return EMBEDDABLE_DISPLAY_NAME;
return APP_NAME;
}

public getIconType() {
Expand Down

0 comments on commit 6fa536c

Please sign in to comment.