chore(ui): remove unused stopEvent code

This commit is contained in:
peaklabs-dev 2025-05-20 15:22:37 +02:00
parent cb41670af9
commit 5f426603c7
No known key found for this signature in database
2 changed files with 0 additions and 14 deletions

View file

@ -111,15 +111,5 @@
</div>
@endif
</div>
</div>
@script
<script>
$wire.$on('stopEvent', () => {
$wire.$dispatch('info',
'Gracefully stopping application, it could take a while depending on the application.');
$wire.$call('stop');
});
</script>
@endscript
</nav>

View file

@ -92,10 +92,6 @@ class="flex overflow-x-scroll shrink-0 gap-6 items-center whitespace-nowrap sm:o
window.dispatchEvent(new CustomEvent('startdatabase'));
$wire.$call('start');
});
$wire.$on('stopEvent', () => {
$wire.$dispatch('info', 'Stopping database.');
$wire.$call('stop');
});
$wire.$on('restartEvent', () => {
$wire.$dispatch('info', 'Restarting database.');
window.dispatchEvent(new CustomEvent('startdatabase'));