Skip to content

Commit 9c289b8

Browse files
authored
fix: return blade component
1 parent 1495f77 commit 9c289b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Console/Commands/Install.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,14 +52,14 @@ public function handle()
5252
// Adding sidebar menu item
5353
$this->progressBlock('Adding menu item');
5454
$this->executeArtisanProcess('backpack:add-menu-content', [
55-
'code' => '<li class="nav-item"><a class="nav-link" href="{{ backpack_url(\'elfinder\') }}"><i class="nav-icon la la-files-o"></i> <span>{{ trans(\'backpack::crud.file_manager\') }}</span></a></li>',
55+
'code' => '<x-backpack::menu-item title="trans(\'backpack::crud.file_manager\')" icon="la la-files-o" :link="backpack_url(\'elfinder\')" />',
5656
]);
5757
$this->closeProgressBlock();
5858

5959
// Done
6060
$url = Str::of(config('app.url'))->finish('/')->append('admin/elfinder');
6161
$this->infoBlock('Backpack FileManager installation complete.', 'done');
62-
$this->note("Go to <fg=blue>$url</> to access your filemanager.");
62+
$this->note('Go to <fg=blue>$url</> to access your filemanager.');
6363
$this->note('You may need to run <fg=blue>php artisan serve</> to serve your Laravel project.');
6464
$this->newLine();
6565
}

0 commit comments

Comments
 (0)