diff --git a/src/resources/image.jsx b/src/resources/image.jsx index 9473fc90..a4a14e75 100644 --- a/src/resources/image.jsx +++ b/src/resources/image.jsx @@ -131,10 +131,10 @@ export const isSnapshot = (item) => { }; export const canImageCreateInstance = (item) => - item.status === 'active' && item.usage_type === 'common'; + item.status === 'active' && (item.usage_type === 'common' || item.usage_type === undefined); export const canImageCreateIronicInstance = (item) => - item.status === 'active' && item.usage_type === 'ironic'; + item.status === 'active' && (item.usage_type === 'ironic' || item.usage_type === undefined); export const canSnapshotCreateInstance = (item) => item.status === 'active';