Skip to content

Commit

Permalink
Merge pull request #55 from vpietri/blanck_page_with_frontend_theme
Browse files Browse the repository at this point in the history
Fix call appConfig->getValue, partially, closes #26
  • Loading branch information
vpietri authored Oct 20, 2021
2 parents 7a590f4 + 3b36c56 commit 3ed9d7a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Block/Tab/Content/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

namespace ADM\QuickDevBar\Block\Tab\Content;

use Magento\Framework\App\Config\ScopeConfigInterface;

class Config extends \ADM\QuickDevBar\Block\Tab\Panel
{
protected $_config_values;
Expand All @@ -26,7 +28,8 @@ public function getTitleBadge()
public function getConfigValues()
{
if (is_null($this->_config_values)) {
$this->_config_values = $this->_buildFlatConfig($this->_appConfig->getValue());
$this->_config_values = $this->_buildFlatConfig($this->_appConfig->getValue( null, ScopeConfigInterface::SCOPE_TYPE_DEFAULT,
null));
}

return $this->_config_values;
Expand Down

0 comments on commit 3ed9d7a

Please sign in to comment.