Skip to content

Commit f4ea63c

Browse files
committed
Fix error for modules section on site (Kirby 3.6)
1 parent 5d5cf83 commit f4ea63c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ panel.plugin('medienbaecker/modules', {
33
'k-modules-section': {
44
extends: 'k-pages-section',
55
created: function () {
6+
if (this.parent == 'site') return;
67
this.$api.post(this.parent + '/modules')
78
.then((data) => {
89
if (data.created) {

0 commit comments

Comments
 (0)