diff --git a/CHANGELOG.md b/CHANGELOG.md index c4ef751..93fcf78 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,8 @@ All notable changes to this project will be documented in this file. -## WIP +## [7.0.1] - 2023-11-08 +[7.0.1]: https://github.com/Smile-SA/magento2-module-debug-toolbar/compare/7.0.0...7.0.1 - Renamed the "Generic" zone to "Server" - Renamed the "Mysql" zone to "Database" diff --git a/view/base/templates/zone/cache.phtml b/view/base/templates/zone/cache.phtml index 5f6343a..626038b 100644 --- a/view/base/templates/zone/cache.phtml +++ b/view/base/templates/zone/cache.phtml @@ -43,10 +43,10 @@ $sections['Number'] = [ ]; $sections['Size'] = [ - 'total' => $block->formatValue($sections['Size']['total'], [], 'size'), - 'load' => $block->formatValue($sections['Size']['load'], [], 'size'), - 'save' => $block->formatValue($sections['Size']['save'], [], 'size'), - 'remove' => $block->formatValue($sections['Size']['remove'], [], 'size'), + 'total' => $block->formatValue($sections['Size']['total'], ['gt' => 4096 * 1024], 'size'), + 'load' => $block->formatValue($sections['Size']['load'], ['gt' => 4096 * 1024], 'size'), + 'save' => $block->formatValue($sections['Size']['save'], ['gt' => 4096 * 1024], 'size'), + 'remove' => $block->formatValue($sections['Size']['remove'], ['gt' => 4096 * 1024], 'size'), ]; $sections['Time'] = [