fix: Fix the export format of createIronic in images actions

Update export image create ironic module

Change-Id: I8ed8fd494692d63b79f947572ddc4f21f1cda82f
This commit is contained in:
xusongfu 2021-09-28 14:47:44 +08:00
parent c549b50538
commit fc75f6e7a3

View File

@ -17,9 +17,7 @@ import CreateInstance from 'pages/compute/containers/Instance/actions/StepCreate
import { canImageCreateIronicInstance } from 'resources/image'; import { canImageCreateIronicInstance } from 'resources/image';
import { canCreateIronicByEndpoint } from 'resources/instance'; import { canCreateIronicByEndpoint } from 'resources/instance';
@inject('rootStore') export class CreateIronic extends CreateInstance {
@observer
export default class CreateIronic extends CreateInstance {
static id = 'ironic-create'; static id = 'ironic-create';
static title = t('Create Ironic Instance'); static title = t('Create Ironic Instance');
@ -39,3 +37,5 @@ export default class CreateIronic extends CreateInstance {
); );
} }
} }
export default inject('rootStore')(observer(CreateIronic));