/
dimamir
/
coolify
Обзор
Документация
Войти
/
dimamir
/
coolify
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
app/Livewire/Security/PrivateKey/Index.php
24 строки
605 B
Andras Bacsai
format
23 сен 2024, 20:51
23 сен 2024, 20:51
b570ccd
Код
Авторство
О чём код?
<?php namespace App\Livewire\Security\PrivateKey; use App\Models\PrivateKey; use Livewire\Component; class Index extends Component { public function render() { $privateKeys = PrivateKey::ownedByCurrentTeam(['name', 'uuid', 'is_git_related', 'description'])->get(); return view('livewire.security.private-key.index', [ 'privateKeys' => $privateKeys, ])->layout('components.layout'); } public function cleanupUnusedKeys() { PrivateKey::cleanupUnusedKeys(); $this->dispatch('success', 'Unused keys have been cleaned up.'); } }