diff --git a/spiffworkflow-frontend/src/ContainerForExtensions.tsx b/spiffworkflow-frontend/src/ContainerForExtensions.tsx index 22eb87759..61277d67c 100644 --- a/spiffworkflow-frontend/src/ContainerForExtensions.tsx +++ b/spiffworkflow-frontend/src/ContainerForExtensions.tsx @@ -51,7 +51,10 @@ export default function ContainerForExtensions() { const extensionUiSchema: ExtensionUiSchema = JSON.parse( extensionUiSchemaFile.file_contents ); - if (extensionUiSchema.ux_elements) { + if ( + extensionUiSchema.ux_elements && + !extensionUiSchema.disabled + ) { return extensionUiSchema.ux_elements; } } catch (jsonParseError: any) { diff --git a/spiffworkflow-frontend/src/extension_ui_schema_interfaces.ts b/spiffworkflow-frontend/src/extension_ui_schema_interfaces.ts index b9ce69431..867809eb2 100644 --- a/spiffworkflow-frontend/src/extension_ui_schema_interfaces.ts +++ b/spiffworkflow-frontend/src/extension_ui_schema_interfaces.ts @@ -56,8 +56,9 @@ export interface UiSchemaPage { } export interface ExtensionUiSchema { - ux_elements?: UiSchemaUxElement[]; pages: UiSchemaPage; + disabled?: boolean; + ux_elements?: UiSchemaUxElement[]; } export interface ExtensionPostBody {