diff --git a/src/pages/compute/containers/Image/actions/ManageMetadata.jsx b/src/pages/compute/containers/Image/actions/ManageMetadata.jsx index 21d181ad..e16141c3 100644 --- a/src/pages/compute/containers/Image/actions/ManageMetadata.jsx +++ b/src/pages/compute/containers/Image/actions/ManageMetadata.jsx @@ -93,10 +93,9 @@ export default class ManageMetadata extends ModalAction { size, image_type, self, - project_name, virtual_size, ...rest - } = this.item; + } = this.item.originData; return rest; } diff --git a/src/resources/image.jsx b/src/resources/image.jsx index b4c57565..50408a80 100644 --- a/src/resources/image.jsx +++ b/src/resources/image.jsx @@ -88,9 +88,7 @@ export const imageProperties = { min_ram: t('Min. RAM'), name: t('Name'), owner: t('Owner'), - tags: t('Tags'), updated_at: t('Updated At'), - virtual_size: t('Virtual Size'), visibility: t('Visibility'), description: t('Description'), architecture: t('Architecture'), diff --git a/src/stores/glance/image.js b/src/stores/glance/image.js index bb7426a3..9cb43f18 100644 --- a/src/stores/glance/image.js +++ b/src/stores/glance/image.js @@ -54,11 +54,13 @@ export class ImageStore extends Base { return (data, filters, isDetail) => { if (isDetail) { return { + originData: { ...data }, ...data, project_id: data.owner, }; } return { + originData: { ...data }, ...data, project_id: data.owner, project_name: data.owner_project_name || data.project_name,