diff --git a/front/js/svelte/layout/Header.svelte b/front/js/svelte/layout/Header.svelte index e3be95f..04ec6c0 100644 --- a/front/js/svelte/layout/Header.svelte +++ b/front/js/svelte/layout/Header.svelte @@ -12,7 +12,7 @@
Members - {#if channel.commands} + {#if channel.commands.length > 0}
Actions
{#each channel.commands as command} diff --git a/src/Config/main.php b/src/Config/main.php index e38ae37..d307376 100644 --- a/src/Config/main.php +++ b/src/Config/main.php @@ -7,7 +7,26 @@ return [ "name" => env("LUCENT_NAME", "Lucent"), "url" => env("LUCENT_URL", env('APP_URL')), "previewTarget" => env("LUCENT_PREVIEW_TARGET", "previewTarget"), + /* + * Make available laravel artisan commands for admin users + * example: + * [ + * "command1:signature" => "Description 1" + * "command2:signature" => "Description 2" + * ] + * + * */ "commands" => [], + /* + * Image filter will be available both for rich editor fields + * and throughout your application + * + * example: + * [ + * "filterName" => Filter::class + * ] + * + * */ "imageFilters" => [], "canInvite" => ["admin"], "canBuild" => ["admin"],