Skip to content

Commit

Permalink
chore: remove unnecessary custom any twig filter
Browse files Browse the repository at this point in the history
  • Loading branch information
jdreesen committed Oct 30, 2024
1 parent f8cc157 commit 1caa79e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 37 deletions.
2 changes: 0 additions & 2 deletions config/services.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,3 @@ services:
tags:
- { name: kernel.event_listener, event: pimcore.bundle_manager.paths.css, method: addCSSFiles }
- { name: kernel.event_listener, event: pimcore.bundle_manager.paths.js, method: addJSFiles }

Neusta\Pimcore\AreabrickConfigBundle\Twig\NeustaExtension: ~
32 changes: 0 additions & 32 deletions src/Twig/NeustaExtension.php

This file was deleted.

6 changes: 3 additions & 3 deletions templates/bricks/overview.html.twig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% set hasVersions = bricks|any(b => b.version is not empty) %}
{% set hasDescriptions = bricks|any(b => b.description is not empty) %}
{% set hasAdditionalProperties = bricks|any(b => b.additionalProperties is not empty) %}
{% set hasVersions = bricks has some brick => brick.version is not empty %}
{% set hasDescriptions = bricks has some brick => brick.description is not empty %}
{% set hasAdditionalProperties = bricks has some brick => brick.additionalProperties is not empty %}

<div id="neusta_areabrick_config">
<table>
Expand Down

0 comments on commit 1caa79e

Please sign in to comment.