feat: initialize main application dashboard and service management UI
This commit is contained in:
@@ -417,7 +417,7 @@ function App(): JSX.Element {
|
|||||||
|
|
||||||
const handleStartAll = async () => {
|
const handleStartAll = async () => {
|
||||||
if (!window.api) return
|
if (!window.api) return
|
||||||
const criticalServices = [settings.serverType]
|
const criticalServices = ['nginx', 'apache']
|
||||||
for (const s of criticalServices) {
|
for (const s of criticalServices) {
|
||||||
if (status[s] === 'stopped') setStatus(prev => ({ ...prev, [s]: 'starting' }))
|
if (status[s] === 'stopped') setStatus(prev => ({ ...prev, [s]: 'starting' }))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user