mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-09-07 15:14:36 +08:00
fix: Fix the issue where the list keeps loading when autostart = false is set in the Supervisor configuration. (#9866)
This commit is contained in:
parent
39bb7acdba
commit
3c967f8906
2 changed files with 4 additions and 1 deletions
|
@ -615,7 +615,7 @@ func getProcessStatus(config *response.SupervisorProcessConfig, containerName st
|
|||
for _, line := range lines {
|
||||
line = strings.TrimPrefix(line, "stdout:")
|
||||
fields := strings.Fields(line)
|
||||
if len(fields) >= 5 {
|
||||
if len(fields) >= 4 {
|
||||
status := response.ProcessStatus{
|
||||
Name: fields[0],
|
||||
Status: fields[1],
|
||||
|
|
|
@ -27,6 +27,9 @@
|
|||
{{ $t('commons.button.create') + $t('tool.supervisor.list').toLowerCase() }}
|
||||
</el-button>
|
||||
</template>
|
||||
<template v-if="showTable" #rightToolBar>
|
||||
<TableRefresh @search="search()" />
|
||||
</template>
|
||||
<template #main v-if="showTable">
|
||||
<ComplexTable :data="data" :class="{ mask: !supervisorStatus.isRunning }" v-loading="dataLoading">
|
||||
<el-table-column
|
||||
|
|
Loading…
Add table
Reference in a new issue