feat(plugins): uninstall plugins via CLI and admin UI

This commit is contained in:
Yassine Doghri 2024-05-05 09:14:30 +00:00
commit 9a80de4068
11 changed files with 188 additions and 28 deletions

View file

@ -37,7 +37,7 @@ class DropdownMenu extends Component
switch ($item['type']) {
case 'link':
$menuItems .= anchor($item['uri'], $item['title'], [
'class' => 'px-4 py-1 hover:bg-highlight focus:ring-accent focus:ring-inset' . (array_key_exists('class', $item) ? ' ' . $item['class'] : ''),
'class' => 'inline-flex gap-x-1 items-center px-4 py-1 hover:bg-highlight focus:ring-accent focus:ring-inset' . (array_key_exists('class', $item) ? ' ' . $item['class'] : ''),
]);
break;
case 'html':