bnomei / kirby3-janitor

Kirby Plugin for running commands like cleaning the cache from within the Panel, PHP code, CLI or a cronjob
https://forum.getkirby.com/t/kirby3-janitor-plugin/23573
MIT License
89 stars 8 forks source link

Bug? JSON Response shown in button #28

Closed andreasotto closed 4 years ago

andreasotto commented 4 years ago

When executing a custom job, i'll receive this result:

image

That doesn't look so well.

andreasotto commented 4 years ago

Update:

The example on https://github.com/bnomei/kirby3-janitor/wiki/HowTo:-Custom-Jobs contains a

'label' => $page->title()

that should be

'label' => $page->title()->value()

bnomei commented 4 years ago

fixed the typo in wiki. please close the issue you think that solves it.