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
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 @@
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'));