From 8040d1d5be02a98c73f385caba0f8f45a98f11ee Mon Sep 17 00:00:00 2001 From: "Mazzella, Jesse D. (ARC-TI)[KBR Wyle Services, LLC]" Date: Wed, 24 Jan 2024 13:12:27 -0800 Subject: [PATCH] refactor: `UserIndicator` use vue component directly --- src/plugins/userIndicator/plugin.js | 22 ++-------------------- 1 file changed, 2 insertions(+), 20 deletions(-) diff --git a/src/plugins/userIndicator/plugin.js b/src/plugins/userIndicator/plugin.js index 42a9817e3d..842fc0b13e 100644 --- a/src/plugins/userIndicator/plugin.js +++ b/src/plugins/userIndicator/plugin.js @@ -20,32 +20,14 @@ * at runtime from the About dialog for additional information. *****************************************************************************/ -import mount from 'utils/mount'; - import UserIndicator from './components/UserIndicator.vue'; export default function UserIndicatorPlugin() { function addIndicator(openmct) { - const { vNode, destroy } = mount( - { - components: { - UserIndicator - }, - provide: { - openmct: openmct - }, - template: '' - }, - { - app: openmct.app - } - ); - openmct.indicators.add({ key: 'user-indicator', - element: vNode.el, - priority: openmct.priority.HIGH, - destroy: destroy + vueComponent: UserIndicator, + priority: openmct.priority.HIGH }); }