mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
chore(ui): remove unused stopEvent code
This commit is contained in:
parent
cb41670af9
commit
5f426603c7
2 changed files with 0 additions and 14 deletions
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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'));
|
||||
|
|
|
|||
Loading…
Reference in a new issue