From 191088d33ed8074d46fce6cb92dc69137d54b46e Mon Sep 17 00:00:00 2001 From: Matthew Kevins Date: Tue, 4 Feb 2020 09:34:47 +1000 Subject: [PATCH] [Mobile] Fix blank image size labels on mobile (#19800) * Fix blank image size labels on mobile * Use name instead of label in default imageSizes --- packages/block-editor/src/store/defaults.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/block-editor/src/store/defaults.js b/packages/block-editor/src/store/defaults.js index a0ab78569c5083..790d65a5ae6dc6 100644 --- a/packages/block-editor/src/store/defaults.js +++ b/packages/block-editor/src/store/defaults.js @@ -126,10 +126,10 @@ export const SETTINGS_DEFAULTS = { ], imageSizes: [ - { slug: 'thumbnail', label: __( 'Thumbnail' ) }, - { slug: 'medium', label: __( 'Medium' ) }, - { slug: 'large', label: __( 'Large' ) }, - { slug: 'full', label: __( 'Full Size' ) }, + { slug: 'thumbnail', name: __( 'Thumbnail' ) }, + { slug: 'medium', name: __( 'Medium' ) }, + { slug: 'large', name: __( 'Large' ) }, + { slug: 'full', name: __( 'Full Size' ) }, ], // This is current max width of the block inner area