Skip to content

Commit

Permalink
Fix maxlevel meta property if value is 0
Browse files Browse the repository at this point in the history
  • Loading branch information
aheinze committed Dec 13, 2022
1 parent 5f757d1 commit 78d6cd5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -10,6 +10,7 @@
- Invalidate opcache for edited php files via finder
- Remove avif support due to unpredictable server configurations
- Fix PHP 8.2 related issues
- Fix `maxlevel` meta property if value is 0

## 2.3.4 (2022-11-25)

Expand Down
2 changes: 1 addition & 1 deletion modules/Content/assets/vue-components/items-tree.js
Expand Up @@ -183,7 +183,7 @@ export default {
<a class="kiss-margin-small-left" @click="createItem(element._id)"><icon>create_new_folder</icon></a>
<a class="kiss-margin-small-left kiss-color-danger" @click="remove(element)"><icon>delete</icon></a>
</kiss-card>
<div v-if="!isMaxLevel && (element._showChildren || !element._children)" :style="{paddingLeft: (((level+1)*23)+'px')}">
<div v-if="isMaxLevel !== false && (element._showChildren || !element._children)" :style="{paddingLeft: (((level+1)*23)+'px')}">
<items-tree class="items-tree" :model="model" :items="element.children" :level="level+1" :p="element" :locale="locale" :allow-moving="allowMoving"></items-tree>
</div>
</div>
Expand Down

0 comments on commit 78d6cd5

Please sign in to comment.