feat: customization service append and customize functionality should run once (#4238)

This commit is contained in:
Bill Wallace authored and GitHub committed 2024-06-19 16:31:59 -04:00
1 parent 88575c6c09
commit e462fd31f7
10 files changed
+443 -84

No files matched your search

@@ -1,15 +1,11 @@
import React, { useMemo } from 'react';
import React from 'react';
import type { ServicesManager } from '@ohif/core';
function WorkflowPanel({ servicesManager, extensionManager }) {
const ProgressDropdownWithService = useMemo(() => {
const defaultComponents = extensionManager.getModuleEntry(
'@ohif/extension-default.customizationModule.default'
).value;
return defaultComponents.find(
component => component.id === 'progressDropdownWithServiceComponent'
function WorkflowPanel({ servicesManager }: { servicesManager: ServicesManager }) {
const ProgressDropdownWithService =
servicesManager.services.customizationService.getCustomization(
'progressDropdownWithServiceComponent'
).component;
}, [extensionManager]);
return (
<div
-1
View File
@@ -3,7 +3,6 @@ const pkg = require('./package');
module.exports = {
...base,
name: pkg.name,
displayName: pkg.name,
// rootDir: "../.."
// testMatch: [